chiark / gitweb /
m.code: allow inline code and code blocks without any language.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 15 Sep 2024 21:28:02 +0000 (23:28 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 15 Sep 2024 22:04:47 +0000 (00:04 +0200)
commit08cd14c37f17b4ed5fbbdadf2b0d1a36a11dc3c4
tree3af1294291801935169f61669039ce14f552259c
parente7a339d0e902dd831fcc40d76c534712afe89509
m.code: allow inline code and code blocks without any language.

Inline code supported that already, but omitted the .m-code CSS class in
that case, and also all other classes. Code block didn't support that.
Now both do, and both preserve both the .m-code CSS as well as any
custom ones.
doc/plugins/math-and-code.rst
plugins/m/code.py
plugins/m/test/code/page.html
plugins/m/test/code/page.rst