This is an investigation log about a bug of pymdown-extensions. Here's been discussed in Japanese. Thanks.
2018/06/19 時点の master にはこのバグが存在している.(いつからバグがあるかは分からない)
- python-markdown https://github.com/uchan-nos/markdown
- pymdown-extensions https://github.com/facelessuser/pymdown-extensions
MkDocs で次のような設定を書き,python-markdown の admonition と pymdown-extensions の superfences を有効にしておく.
markdown_extensions:
- admonition:
- pymdownx.superfences:
すると,次のようなドキュメントにおいて this is code block 2/2 の部分が変換後の HTML からは完全に消えてしまう.
```
this is code block 1/2
```
!!! note
this is note admonition 1/2
```
this is code block 2/2
```
!!! note
this is note admonition 2/2
end of document