Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
feature: italics for previewing underscore-delimited sequences #1160
The preview mode appears to render underlining for sequences delimited by single underscores, and italics for those delimited by single asterisks. (Bold typesetting is used both for text delimited by two underscores and that delimited by two asterisks.)
The use of underlining for these sequences appears to be a deviation from common MarkDown dialects [1-2]. As such, the display does not interoperate well with MarkDown text from other sources. Italicized text sequences that display elegantly in other environments appear awkward and cluttered in QOwnNotes.
I understand the sensibility for supporting underlining text, but it is in fact not needed in most typesetting. Underlining has principally been used for titles and similar text, as a substitute for italicization, when it is unavailable.
Users who need to publish underlined text from MarkDown sources can use custom stylesheets, but for standard previewing, I would suggest using styling familiar to most MarkDown users.
Note: This text, rendered by GitHub, is represented in the below MarkDown
Version: 19.2.5 - Launchpad PPA - build 522
There are two answers: No and no:
The semantics in this library are nonstandard given the considerations listed above. The renderer contains separate fields
It would be more common that a library would generate the logical HTML tags and attach a CSS stylesheet. If you could use a stylesheet, then you could override the display properties of the