-
I know there's been some work recently refactoring this, I haven't been able to get the Typst writer to output formatted text using Pygments. I've been invoking like this; is there something I'm missing here?
And the formatTest.md file contains a fenced code block: Some simple *Markdown*.
```python
def hello():
print("hello!")
``` But the code block just gets passed through without any formatting. Some simple #emph[Markdown];.
```python
def hello():
print("hello!")
``` Maybe this is just still in-progress? The syntax-highlighting part of the docs don't list Typst as supported, but the documentation of |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
You're using what version of pandoc? I've tested with the latest, and I'm seeing something different from what you report (but still undesirable). Namely, the |
Beta Was this translation helpful? Give feedback.
-
It looks like commit e0acb24 didn't modify how the Typst writer renders code -- despite that being one of the motivations for the changes there! |
Beta Was this translation helpful? Give feedback.
-
Ah, ok! It looked like that might be the case from my quick perusal of it but I am not very good with Haskell so didn't want to presume.
Version 3.8 packaged by Homebrew. Weird that we're seeing different results... Anything else I should try? Edit: Just tried with the latest version from the GitHub release, to be sure, and got the same output. :-/ |
Beta Was this translation helpful? Give feedback.
-
Oh no, my bad! I'll fix that.
|
Beta Was this translation helpful? Give feedback.
It's already fixed! and the fix is in the 3.8.1 release