Live data from Hacker News

Beyond Markdown (2018)

johnmacfarlane.net

41–50 of 132 posts

Re: Beyond Markdown (2018)

#41
Just make it so that literal * has to be escaped, and use a greedy parse.

*foo* always means * followed by , and the closing * is missing and would be flagged.

foo... uh oh missing a closing *, can't parse

Oh boy, HN mangled this. I'm leaving it as an examplar

Re: Beyond Markdown (2018)

#42
post #37

Earlier quoted context omitted.

I'd like to see *this is bold* /this is italics/ _this is underlined_ Beyond simple conventions like this, I'd just as soon drop into HTML as deal with some other markup that ends up being just as complex. We don't need to allow permutations and combinations such as bold and italics, double-weight bold, etc. these never occur in normal prose typesetting and if you need it just use HTML for those rare cases.

As a point of order; \* more than 3\/4's of people may not feel that way, particularly those discussing snake\_case Vs CamelCase

That’s PascalCase, camelCase does not capitalize the first word.

Re: Beyond Markdown (2018)

#43
post #23

Earlier quoted context omitted.

But I like to write paths like /usr/bin/ in my text and don’t want to worry about backtick code quoting them every time

Most people don't write file paths. Only a concern for programmers, who should be fine escaping them by whatever mechanism.

Uh.. what about all those non programmers that write URLs?

Re: Beyond Markdown (2018)

#44
post #37

Earlier quoted context omitted.

I'd like to see *this is bold* /this is italics/ _this is underlined_ Beyond simple conventions like this, I'd just as soon drop into HTML as deal with some other markup that ends up being just as complex. We don't need to allow permutations and combinations such as bold and italics, double-weight bold, etc. these never occur in normal prose typesetting and if you need it just use HTML for those rare cases.

As a point of order; \* more than 3\/4's of people may not feel that way, particularly those discussing snake\_case Vs CamelCase

New rule needs ~ when * or _ is used inside words, so your example wouldn't need escaping. E.g.,

dis~/cuss/~ing

Re: Beyond Markdown (2018)

#45

Earlier quoted context omitted.

I really like your proposal, but in the days of USENET the // wasn't interpreted by the machine but simply by our minds, just like * for bold. Would there be any extra issues caused by italics being / rather than *? I'm honestly with you on this and I'm in the middle of building a huge Markdown site where I have the freedom to change the syntax now if I want.

I'd like to see *this is bold* /this is italics/ _this is underlined_ Beyond simple conventions like this, I'd just as soon drop into HTML as deal with some other markup that ends up being just as complex. We don't need to allow permutations and combinations such as bold and italics, double-weight bold, etc. these never occur in normal prose typesetting and if you need it just use HTML for those rare cases.

Underlining is an emphasis hack for mechanical typewriters or in handwriting. There's no reason to use it typographically in something which has all the layout possibilities of a modern computer or printer.

https://practicaltypography.com/underlining.html

Re: Beyond Markdown (2018)

#46
post #37

Earlier quoted context omitted.

As a point of order; \* more than 3\/4's of people may not feel that way, particularly those discussing snake\_case Vs CamelCase

New rule needs ~ when * or _ is used inside words, so your example wouldn't need escaping. E.g., dis~/cuss/~ing

with a similar caveat for 'obvious' fractions and divisions?

Re: Beyond Markdown (2018)

#47
post #23

Earlier quoted context omitted.

But I like to write paths like /usr/bin/ in my text and don’t want to worry about backtick code quoting them every time

Most people don't write file paths. Only a concern for programmers, who should be fine escaping them by whatever mechanism.

Most people don’t write markdown! What’s the demographic of markdown writers who don’t write file paths? Bloggers?

Re: Beyond Markdown (2018)

#50
post #37

Earlier quoted context omitted.

As a point of order; \* more than 3\/4's of people may not feel that way, particularly those discussing snake\_case Vs CamelCase

That’s PascalCase, camelCase does not capitalize the first word.

Turns out that it's a contentious topic:

https://en.wikipedia.org/wiki/Camel_case

FWIW I use the same nomenclature as you, but that doesn't make it universal.

Post reply on HN