3 ms·
Maybe you're thinking about sanitized Markdown, but proper Markdown allows HTML: For any markup that is not covered by Markdown’s syntax, you simply use HTML i
by dchest 6y ago
Maybe you're thinking about sanitized Markdown, but proper Markdown allows HTML:
For any markup that is not covered by Markdown’s syntax, you simply use HTML itself. There’s no need to preface it or delimit it to indicate that you’re switching from Markdown to HTML; you just use the tags.
https://daringfireball.net/projects/markdown/syntax https://daringfireball.net/projects/markdown/syntax
* * *
Unrelated to Markdown: CMS like WordPress have quick tags for embeds, e.g. your post with tweets could have been something like
[tweet id="123..."]
[tweet id="456..."]
instead of the massive amount of code that you have to copy and paste, which will break if Twitter stops supporting that API, while this embed style would be easy to update.
- julianeon 6y agoInteresting! Thanks for adding that; I have to admit that makes the proposition much better.