You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to define whether syntax highlighting should be enabled or not in code blocks.
Currently the highlighter tries to guess the programming language (and this seems to work fine for most cases) - but it keeps the text weirdly highlighted in case of stuff that is supposed to not be highlighted (e.g: plain text files, logs, ...).
It would be nice to have a sort of drop-down to select the programming language, similarly to what you can do in Google Docs, and have an option to select "Plaintext" or "No highlighting"
Reacted by Philip Okugbe, Jose De Gouveia and Johnny
Activity
hgouveia commentedon Jul 27, 2024
plus add the possibility to add code block using markdown
ex:
Philipinho commentedon Jul 27, 2024
@hgouveia you can do that already. Give space after typing the opening marks to get a code block.
hgouveia commentedon Jul 27, 2024
oh ok, jus tried and worked, i was doing Tab instead of space, and would the language specification also works?
Philipinho commentedon Aug 23, 2024
@hgouveia yes, the language is picked up too.
fix(ws): shrink restriction-cache TTL to bound the leak window (docmo…