Skip to content
Discussion options

You must be logged in to vote

I ended writing my own simple language, thank you.

terminal.xml.zip

It just highlights text between null characters to differentiate user input from the rest. I opted to use \0 to render "invisible" characters. Since my examples are generated by a program, I don't have to type de null characters.

It works with HTML and I had to add \catcode0=9 to allow nulls in TeX files.

To work with Quarto:

syntax-definitions: 
  - terminal.xml

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mcanouil
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jandermoreira
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
themes Related to HTML theming or any other style related issue (like highlight-style)
3 participants