snudown
commonmark-spec
snudown | commonmark-spec | |
---|---|---|
12 | 48 | |
181 | 4,839 | |
0.6% | 0.3% | |
0.0 | 6.9 | |
10 months ago | 4 months ago | |
C | Python | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
snudown
-
Markdown formatting
In theory someone could integrate snudown into RedReader just for the previews, to make it more consistent with the site, but the existing preview is "good enough" for most purposes.
-
Installing Snudown on Windows
Looking at the snudown code, it appears that the issue was caused by replacing the ref hash function with SipHash in snudown 1.7 that was seemingly hijacked in by sp3nx0r on the unrelated PR #87 to fix a Hash-collision denial-of-service vulnerability. It certainly doesn't appear that this was done the right way, and it's the added code from the SipHash implementation appears to be the issue building on Windows.
-
Some random guy walked up and smashed my window with his skateboard
It's not true markdown, it's "snudown".
-
[BUG] Links inside spoilers open without first revealing themselves (if you don't want spoilers about Dexter please don't watch this video)
It uses Snudown. You can find all the libraries in the Setting About section.
- The friendly trophy and the story behind it (so far)
-
Marked text + Colored text PRs for snudown
Text highlighting: https://github.com/reddit/snudown/pull/87
-
Add colored text support
Done! I have opened up a new PR for that: https://github.com/reddit/snudown/pull/87
-
[DEV] Tasker 5.13.0-beta - Material You is here, including using Material You Colors on your own projects! (Android 12+) Also, better export descriptions for your profiles and tasks!
Reddit is part of the team for CommonMark, check Who are you?. The old reddit markdown parser snudown's main author @vmg is also a contributor for CommonMark. Github flavoured markdown is also a superset of CommonMark spec with additional features. It's also used by stackoverflow, etc. Basically, if you are not supporting or using a syntax that's supported everywhere else, its only your fault. Don't go screaming at others who are following the standard.
-
Reddit markdown codes
The repo hasn't been updated in almost 3 years: https://github.com/reddit/snudown
-
Tower of Code: isEven(n)
Oldreddit uses snudown
commonmark-spec
-
How to add a man page to your Ruby project, using kramdown-man and markdown
Edit: this is because GitHub uses cmark-gfm, which is a fork of cmark, which implements the CommonMark variant of markdown. Looks like CommonMark still doesn't support definition lists. :(
-
How do you host documentation for your spouse or other users?
BookStack dev here. There's no specific "import" option but you can use the Markdown editor in BookStack and paste in your Markdown content there. The API is essentially just an endpoint to accept the same kind of data, for of course you could automate against the API for batch import. One thing to keep in mind is that BookStack markdown support is fairly tightly scoped to (commonmark + tables + tasklists), although HTML within MD is supported.
-
On why Markdown is not a good, or even a half-decent, markup language
>A single canonical reference
https://commonmark.org/
-
Get ready for Bear 2 - We have a quick blog post with some important details and ways you can get notified once it's out!
Typically with major new releases of software, when the number left of the dot (e.g. 2.0) increases, it’s shipped as a separate product. Not always, but generally. The Bear folks can speak for themselves but IIRC a lot of the code was refactored / rewritten to support, for example, CommonMark. So, under the hood, it’s literally brand new in some respects.
-
Best website to write a rulebook for ttrpgs
I use Obsidian (https://obsidian.md) for a lot of things, including my RPG stuff, and there are options for exporting things as PDFs. It’s great for getting organized and doing research, but I would use other tools for long-form writing and layout. What I like about Obsidian though is that everything is done in Markdown (https://commonmark.org) and I can use Pandoc (https://pandoc.org) to transform the source to whatever I need. The caveat is that Obsidian uses a flavor of Markdown with some non-standard extensions, so a pure Markdown editor like Typora (https://typora.io) might be a better choice depending on your needs.
- What is the most minimal, strictest variant of Markdown?
-
How to display an image
yes, this is the "inventor" of markdown and those rules will always work. Hugo uses something called "Commonmark" which is developed on top of the original markdown. But the original rules will always work too.
-
Lightweight Markup for Ukrainian Texts?
Reddit and many other sites support Markdown as an easy way to add emphasis, links, headings, etc. Markdown does not contain any keywords, as it is intended to be language-independent. However, Markdown syntax makes heavy use of square brackets [] and other characters that are difficult to type with an Ukrainian keyboard layout, e.g., the backtick `.
-
I wish Asciidoc was more popular
Check out commonmark, that is the Markdown standard supported by numerous converters including pandoc.
-
I wrote a markdown to html converter
And if this is an exercise into that you can use a Markdown spec like CommonMark which is the spec Reddit and a variety of other sites use.
What are some alternatives?
pandoc - Universal markup converter
kramdown - kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax definition and supporting several common extensions.
marktext - 📝A simple and elegant markdown editor, available for Linux, macOS and Windows.
markdown-it-katex - Add Math to your Markdown with a KaTeX plugin for Markdown-it
Joplin - Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
rehype-sanitize - plugin to sanitize HTML
remark-toc - plugin to generate a table of contents (TOC)
markup - Determines which markup library to use to render a content file (e.g. README) on GitHub
mdx - Markdown for the component era
ni - 💡 Use the right package manager
obsidian-pandoc - Pandoc document export plugin for Obsidian (https://obsidian.md)
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby