Skip to content

Code Block Content Tabs - Without Indent #1495

Answered by facelessuser
flywire asked this question in Q&A
Discussion options

You must be logged in to vote

I believe I already answered this, but it is due to the fact that it works better with the Python Markdown parser. I'm also not sure what the complaint is exactly.

Tabs can hold complex content, not just code blocks. Managing this complex content in a container in Python Markdown honestly works best using indentation like lists, Admonitions, and Details are handled. If Python Markdown made it easier to do this without indentation syntax, I may have considered other ways.

I'm not going to go into specifics with why it is easier to handle a Table with a block processor but not a Tabbed container, but as an example, there is a reason why the fenced_code extension in Python Markdown doesn't w…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by facelessuser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants