Add contentLevel
Lua option and a \markinline
plain TeX command
#300
Labels
feature request
latex
Related to the LaTeX interface and implementation
lua
Related to the Lua interface and implementation
plaintex
Related to the plain TeX interface and implementation
quality of life
Related to quality-of-life improvements to the interface
Milestone
Currently, we only support including whole Markdown documents using the
\markdownInput
and\markdownBegin
...End
commands. However, it would be useful to allow including just inline elements using a command\markinline
with a syntax similar to\mintinline
from the minted package:Hello, \markinline{*world*} !
Expected output: Hello, world !
In LaTeX, the command would also support optional arguments similar to the
\markdownInput
command and the\begin{markdown}
enviroment (see #299).At the level of Lua, we would add a new option
contentLevel
, which could have two values:block
orinline
. The default value would beinline
for the\markinline
command andblock
in general. ForcontentLevel
ofinline
, only a series of inline level elements would be allowed inreader->convert()
. ForcontentLevel
ofblock
, the behavior would be the same as it is now.Tasks
contentType
Lua option.\markinline
.The text was updated successfully, but these errors were encountered: