You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inline markup start-strings must start a text block or be immediately preceded by
whitespace,
one of the ASCII characters - : / ' " < ( [ {
or a similar non-ASCII punctuation character. [19]
As you can see, . (period) is NOT in the list of must-precede-the-markup list of characters (which are- : / ' " < ( [ { \s). Therefore, the first asterisk should NOT be recognized as markup, but literal asterisk.
Pandoc version?
3.2
The text was updated successfully, but these errors were encountered:
Explain the problem.
This RST:
word.*word ------------ * abc
should be converted to an h2 heading with title "word.*word", and a bullet list of "abc".
However, it would be converted to (in MD, for example):
which means it recognizes these two asterisks as inline markups.
You can "fix" it by adding a blank line after the
------------
, but you shouldn't need to.According to the spec, https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#sections
You can also "fix" it by removing
.
in front of*
(i.e. change toword*word
), but you shouldn't need to do this either; because this example does not match the rule for "inline markup recognition rule":https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules
As you can see,
.
(period) is NOT in the list of must-precede-the-markup list of characters (which are- : / ' " < ( [ { \s
). Therefore, the first asterisk should NOT be recognized as markup, but literal asterisk.Pandoc version?
3.2
The text was updated successfully, but these errors were encountered: