TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Elegant Markdown for a more civilized age

97 点作者 tanoku将近 14 年前

11 条评论

autarch将近 14 年前
Wow, what a crazy idea. Decoupling parsing from output generation. What will those crazy Ruby kids think of next?
评论 #2842688 未加载
评论 #2842810 未加载
评论 #2843919 未加载
joehewitt将近 14 年前
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_lishin将近 14 年前
At a certain point, isn't it easier to just write the HTML?
评论 #2842628 未加载
评论 #2842668 未加载
评论 #2842949 未加载
评论 #2842676 未加载
评论 #2844707 未加载
评论 #2843039 未加载
rednaught将近 14 年前
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 未加载
rednaught将近 14 年前
Just curious if there was a reason why this is not on the official Github blog?
stephth将近 14 年前
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 未加载
FSX将近 14 年前
Nice. I like the idea with the renderers. I'm going to this idea a try too for my Python binding.
dotemacs将近 14 年前
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>
sukuriant将近 14 年前
Am I the only one that found the font on that page distracting?
mcburton将近 14 年前
excellent. Maybe now there well be an elegant way to go from .markdown to .docx
评论 #2843123 未加载
评论 #2842977 未加载
Kwpolska将近 14 年前
Someone shall port this to Python (and possibly PHP).