Replies: 3 comments 13 replies
-
First, you probably want Pandoc parses this as [ Header
1
( "lorem-ipsum" , [] , [] )
[ Str "Lorem" , Space , Str "ipsum" ]
, Para
[ Str "Dolor"
, Space
, Str "sit"
, Space
, Str "\8212"
, Space
, Str "amet."
, Space
, Str "Dolor"
, Space
, Quoted DoubleQuote [ Str "sit" ]
, Space
, Str "amet."
]
] but the Quoted element is rendered to typst using straight quotes, because typst will interpret them as if they're curly. (You'll get curly quotes after you compile with typst.) |
Beta Was this translation helpful? Give feedback.
-
Yes, sorry. My bad, I was in a hurry. Not sure I understand the rest part... |
Beta Was this translation helpful? Give feedback.
-
QuotesHere, I get why you'd want Typst to handle. The user may have a custom template with
ApostrophesWhen smart is on, why not let Typst handle apostrophes?
|
Beta Was this translation helpful? Give feedback.
-
Test file
input.md
:If I convert it to Typst using
pandoc -o output.typ input.md
, the output is(
---
is replaced with em dash.)If I convert it to Typst using
pandoc -f markdown-smart -o output.typ input.md
, the output isQuestions:
How is it possible to convert from Markdown to Typst so that the output will be
(
---
is replaced with em dash. Straight quotation marks are replaced with curly ones.)How is it possible to convert from Markdown to Typst so that the output will be
(Quotation marks are straight and are not escaped.
---
is not replaced with em dash.)Beta Was this translation helpful? Give feedback.
All reactions