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.

Elegant Markdown for a more civilized age

97 pointsby tanokualmost 14 years ago

11 comments

autarchalmost 14 years ago
Wow, what a crazy idea. Decoupling parsing from output generation. What will those crazy Ruby kids think of next?
评论 #2842688 未加载
评论 #2842810 未加载
评论 #2843919 未加载
joehewittalmost 14 years ago
I recently wrote something just like this for Node.js:<p><a href="https://github.com/joehewitt/markdom" rel="nofollow">https://github.com/joehewitt/markdom</a><p>It's used on <a href="http://uponahill.com" rel="nofollow">http://uponahill.com</a> to extract Flickr urls so I can query the Flickr API and get complete metadata about each photo. My gf, who does most of the writing/photography on the site, has found writing in Markdown and copy/pasting Flickr urls a pretty frictionless experience compared to the Wordpress CMS.
评论 #2844649 未加载
pavel_lishinalmost 14 years ago
At a certain point, isn't it easier to just write the HTML?
评论 #2842628 未加载
评论 #2842668 未加载
评论 #2842949 未加载
评论 #2842676 未加载
评论 #2844707 未加载
评论 #2843039 未加载
rednaughtalmost 14 years ago
Is there any consensus on an improved/extended Markdown? Between MultiMarkdown, Github Flavored Markdown, Stack Exchange's additions, this new "elegant" markdown and others there seems to be bit of fragmentation in this idea of a simple markup.
评论 #2842960 未加载
rednaughtalmost 14 years ago
Just curious if there was a reason why this is not on the official Github blog?
stephthalmost 14 years ago
Speaking of Markdown and Github, has anyone figured out a way to preview locally - with accuracy - how README.mdown files will look on the project page? Would Redcarpet 2 help solve this problem?
评论 #2844924 未加载
FSXalmost 14 years ago
Nice. I like the idea with the renderers. I'm going to this idea a try too for my Python binding.
dotemacsalmost 14 years ago
Redcarpet is great, but for code highlighting you can use pygments.rb, which has an embedded python in it and is therefore faster than albino.<p>Check it out: <a href="https://github.com/tmm1/pygments.rb" rel="nofollow">https://github.com/tmm1/pygments.rb</a>
sukuriantalmost 14 years ago
Am I the only one that found the font on that page distracting?
mcburtonalmost 14 years ago
excellent. Maybe now there well be an elegant way to go from .markdown to .docx
评论 #2843123 未加载
评论 #2842977 未加载
Kwpolskaalmost 14 years ago
Someone shall port this to Python (and possibly PHP).