termynal / termynal.py

Python markdown terminal. Built for mkdocs
https://termynal.github.io/termynal.py/
MIT License
85 stars 8 forks source link

How to make it compatible with pymodwnx.snippets? #20

Open Guts opened 7 months ago

Guts commented 7 months ago

Hi @daxartio,

Been a while. It's impressive to see the good job you made here since I had a look :clap:.

I'm facing a case remembering me the race condition between processors we've met before but I've not investigated a lot.

Use case:

Sadly the render is not working:

image

Any idea?

daxartio commented 7 months ago

Hi!

Can you change this line in the code to check my idea

md.preprocessors.register(TermynalPreprocessor(config, md), "termynal", 35)

Change 35 to any number from 25 to 32.

daxartio commented 7 months ago

Maybe we can use some env for that, but i'm not sure because it seems badly practice