Looks like it’s specifically when an underscore follows a normal letter instead of whitespace. Not sure if that’s as intended by the markdown spec, incorrect in Voyager or unspecifed
Looks like it’s specifically when an underscore follows a normal letter instead of whitespace. Not sure if that’s as intended by the markdown spec, incorrect in Voyager or unspecifed
That’s almost certainly intended behavior, otherwise any underscore would trigger formatting (much like the asterisk does instead of allowing snake_case_naming
The markdown specification recommends using asterisks specifically for that. It is not exactly intended, but left to the interpreter. Most markdown interpreters leave the underscores intact if they’re inside a word.
wireless not wirefree
Edit: apparently Voyager doesn’t do underscores for italic?
markdown uses asterisks for italics.
2 asterisks is bold
3 is italic and bold
I know. Underscores also work though for italics
That may be a lemmy specific way to markdown
It’s not Lemmy specific
Oh well ¯\_(ツ)_/¯
https://www.markdownguide.org/basic-syntax/#italic
Markdown has a core spec and then endless flavours. I assume what they’re saying Lemmy chose to not use underscore markup.
This used to be a trouble back in the reddit days as well. It depends entirely on what platform you’re using to access the content.
Boost for example does seem to allow underscores however when I check via the web it doesn’t work.
The italics show up for me fine, so they’re getting through!
I changed it in the edit
Ah, gotcha.
_ It works on my end (without leading and trailing spaces) _ -> It works on my end (without leading and trailing spaces)
You can escape formatting characters with a leading backslash.
Looks like it’s specifically when an underscore follows a normal letter instead of whitespace. Not sure if that’s as intended by the markdown spec, incorrect in Voyager or unspecifed
With underscores:
normal_italics_ normal italics
With asterisks:
normalitalics normal italics
That’s almost certainly intended behavior, otherwise any underscore would trigger formatting (much like the asterisk does instead of allowing snake_case_naming
The markdown specification recommends using asterisks specifically for that. It is not exactly intended, but left to the interpreter. Most markdown interpreters leave the underscores intact if they’re inside a word.
https://www.markdownguide.org/basic-syntax/#italic-best-practices