Markdown is so annoying. I wanted to record a command in Joplin and had the audacity to make it bold to highlight something. Pasted it into their terminal and it put a bunch of asterisks in. Thanks.
It does format text in the editor pane by default now but uses a big warning with a button to disable it.
However, the built-in code highlighter, much
like in many Lemmy frontends, highlights
some words/symbols depending on the default
language. Therefore, it's best to not use
4 spaces at the start of each line for a code block.
Instead, this one starts with "```text" and
ends with "```". No extra indents and I get
to specify the highlighting language!
Markdown is so annoying. I wanted to record a command in Joplin and had the audacity to make it bold to highlight something. Pasted it into their terminal and it put a bunch of asterisks in. Thanks.
Hmm, interesting. I always write Markdown unformatted, so where I put the asterisks in myself. So, that’s a decent reality check, I guess.
Try pasting commands into
code blocks.If they wanted to make a specific part of the command bold, that still wouldn’t work.
Could underline the part, I guess, like this:
ls -la ###(
#starts a comment in shell syntax, so doesn’t get run, in case someone pastes the whole thing.)It does format text in the editor pane by default now but uses a big warning with a button to disable it.