Re:Commento: Open-Source Disqus Alternative
by aboutruby on Wednesday March 20, 2019 @07:29AM
(#19440989)
Reddit supports ``` BTW. You are thinking of StackOverflow probably (which is very annoying). Extra bonus points to sites like Github for supporting ```language-name, e.g. ```js / ```ruby / etc.
Re:Commento: Open-Source Disqus Alternative
by medmunds on Wednesday March 20, 2019 @11:55AM
(#19443430)
StackOverflow finally added ```language fenced code blocks a few months ago.
Re:Commento: Open-Source Disqus Alternative
by aboutruby on Wednesday March 20, 2019 @12:35PM
(#19443873)
You are a life saver! Now they just need to fix the reputation for new users but that's a lot more complex.
Re:Commento: Open-Source Disqus Alternative
by cabalamat on Wednesday March 20, 2019 @08:07AM
(#19441236)
> You are thinking of StackOverflow probably (which is very annoying).
It's particularly annoying because it's a programming site.
Re:Commento: Open-Source Disqus Alternative
by zlynx on Wednesday March 20, 2019 @10:09AM
(#19442309)
It's a programming site, which means no one should be typing code in by hand. It's always got a typo or six.
Cut the code, then paste it, select it and use the {} icon on the StackOverflow editor to indent the entire block. No need to guess at four space indents.
Re:Commento: Open-Source Disqus Alternative
by rplnt on Wednesday March 20, 2019 @07:38AM
(#19441060)
It's just equivalent to `this` though, it doesn't do newlines or preserve spaces.
Re:Commento: Open-Source Disqus Alternative
by aboutruby on Wednesday March 20, 2019 @08:07AM
(#19441230)
`this` is for inline code,
```
this
```
is for code blocks.
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheats...
Re:Commento: Open-Source Disqus Alternative
by rplnt on Wednesday March 20, 2019 @10:18AM
(#19442424)
You were talking about reddit, and my reply is about reddit.
Re:Commento: Open-Source Disqus Alternative
by aboutruby on Wednesday March 20, 2019 @12:36PM
(#19443888)
And mine is about Reddit too :) (which follows the markdown spec pretty well actually)
This is useful when discussing programming, as one can include excerpts of code. To do this in Reddit, you have to prefix each line by 4 spaces, which is hard to do because the comment box doesn't use a monospaced font.
Maybe Commento could have an option of a monospaced font for the comment box?