TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Markdown Guide

29 pointsby mconeover 7 years ago

5 comments

adtacover 7 years ago
This is really useful, thanks!<p>Is there a subset of markdown (preferably with an implementation in Javascript to render it as HTML) that&#x27;s limited to just the basic stuff like bold, underline, italics, links, quotes, and code elements? I don&#x27;t need images, headers, html tags, tables, horizontal lines and the rest.<p>It&#x27;s not so much about the restrictions I&#x27;m worried about. My research has shown that showdownjs is one of the lightest (~30kB) markdown to HTML rendering libraries in JS, but 30kB is still too large for my application. I would trade the above mentioned features for a smaller file size.<p>Any suggestions? I know that I can probably write my own implementation, but I&#x27;d rather rely on battle-tested libraries instead of rolling out my own.
评论 #16151766 未加载
jeremy_wiebeover 7 years ago
Nice work!!<p>I just noticed but there’s an unfortunate naming collision in this space. “Remark” mentioned in the article is a presentation generator [1].<p>The name also refers to a very awesome, pluggable framework for processing markdown text [2].<p>I don’t know if they’re related but that’s very confusing.<p>1 - <a href="https:&#x2F;&#x2F;github.com&#x2F;gnab&#x2F;remark" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gnab&#x2F;remark</a><p>2 - <a href="http:&#x2F;&#x2F;remark.js.org" rel="nofollow">http:&#x2F;&#x2F;remark.js.org</a>
secfirstmdover 7 years ago
Thanks for doing this.<p>It would be great if there was an explainer that simply had comparisons between different flares of MD - e.g Github flavoured. We are working on an open source project with 80k words in MD at the moment an the small syntax stuff is a nightmare.
评论 #16155068 未加载
brianjkingover 7 years ago
Thanks, I submitted a PR. <a href="https:&#x2F;&#x2F;github.com&#x2F;mattcone&#x2F;markdown-guide&#x2F;pull&#x2F;13" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mattcone&#x2F;markdown-guide&#x2F;pull&#x2F;13</a>
评论 #16155047 未加载
appleton34over 7 years ago
thank you for putting this together