LensPlaysGames / markdown2tex

This python script converts markdown into GNU Texinfo compatible format
0 stars 0 forks source link

Emphasis added in a code block #2

Open nkh opened 1 year ago

nkh commented 1 year ago

source:

GIT_MODE_CONNECTOR_CHAR_LIST => ['*', 'o', '+', 'x', 'X', '┼', '╋', '╬'],

texi:

@example
GIT@emph{MODE_CONNECTOR_CHAR_LIST => ['}', 'o', '+', 'x', 'X', '┼', '╋', '╬'],
@end example
LensPlaysGames commented 1 year ago

What's the issue exactly?

nkh commented 1 year ago

the first _ is transformed into en @emph{...} when it shouldn't, it's a code block and should be verbatim.

LensPlaysGames commented 1 year ago

What makes it a code block?

nkh commented 1 year ago

three back-quotes before and after, I updated the code above.