subconsciousnetwork / subtext

Markup for note taking
Apache License 2.0
274 stars 20 forks source link

RFC for bold and italic #20

Open gordonbrander opened 3 years ago

gordonbrander commented 3 years ago

In my ideal world, the syntax would be _italic_ and *bold*.

However, from a MAYA perspective, it should probably be *italic* and **bold** for resemblance to Markdown.

Prior art

Markdown

**bold**
*italic*
__bold__
_italic_
`code`

Slack

*bold*
_italic_
`code`

Roam

**bold**
__italic__
`code`

Discord

**bold**
*italic*
_italic_
__underline__
`code`

Orgmode

https://orgmode.org/manual/Emphasis-and-Monospace.html

*bold*
/italic/
_underline)

Wikitext

https://en.m.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Text_formatting

'''bold'''
''italic''
bburns commented 2 years ago

I also like * for bold and _ for italic.

Orgmode has * for bold, / for italic, _ for underline. That makes the most sense but / is prob better for other things. https://orgmode.org/manual/Emphasis-and-Monospace.html

Wikitext has ''' for bold and '' for italic. https://en.m.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Text_formatting

gordonbrander commented 2 years ago

Thanks @bburns! I've added these and other prior art to the issue description.