Hello all,
Today we found a major bug in NimForum (just some quote escaping issues), fixing it gave me an excuse to implement some new features.
The two new features are:
The quoted text syntax most of us have been using is now rendered as a <blockquote>. For example:
Nim is the best
But is it memory safe?
I implemented this change rather quickly, so you may find some bugs, if so please report them to me ASAP. Also please let me know what you think of the new features :D
(Also if you have some time, you may want to help tidy up the code that implements the quotes feature: https://github.com/nim-lang/nimforum/blob/master/forum.nim#L439, I unfortunately must now go back to Uni assignments :) )
Thanks for the on-page cheatsheet ... so much nicer than having to open it in another tab.
I typed > yada yada (at the beginning of the line) and that's what I see in preview:
yada yada
Oops, now I don't see the line at all in preview. Ah, but adding this line after it makes it show up, and formatted correctly. So it looks like there's a bug if the quoted text is the last line:
Thanks for the on-page cheatsheet ... so much nicer than having to open it in another tab.
You're very welcome! :)
So it looks like there's a bug if the quoted text is the last line
Yep, bug indeed. Nice find!
Really awesome work, Dom. I love the new quote formatting! (and it's good that the header links finally match the homepage)
Glad you like it, and happy to hear that you noticed that the header links are now correct! The only difference now is the home, but I thought that was a necessary difference.
why not markdown
Because Araq loves rst, and he has written a native Nim parser for it which works rather well.
A few things that would be very useful...
Agree on both points. PRs welcome :)
@dom96, could you include the double-backticks for inline monospace? It's often useful.
That line came from this, where I've triple-backticked the whole thing to show it verbatim.
*@dom96*, could you include the double-backticks for ``inline monospace``? It's often useful.