Skip to content
Discussion options

You must be logged in to vote

You can insert a code block within an enumerated (numbered) list in TriliumNext Notes without pulling the list itself into the code block by following these steps: create your list, press Enter to start a new list item, then press Backspace to remove the bullet or number. With the cursor now outside the list but still indented, insert your code block (using the formatting toolbar or by typing ``` as in Markdown). This keeps the code block separate from the list formatting. The same method works for bullet and to-do lists as well. More details and visuals are available in the documentation here.

TriliumNext supports syntax highlighting for code blocks using Highlight.js, and you can chang…

Replies: 0 comments 2 replies

Comment options

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

Answer selected by SpaceRaceMouse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant