markdown.js 制作記録
think49 think49
面白い試み。私も書いてみようかな。/
はてな記法(の一部)をHTMLに変換してくれるJavaScript書いた - yaakaito::Blog
http://d.hatena.ne.jp/yaakaito/20110214/1297714047 #JavaScript
はてな記法(の一部)をHTMLに変換してくれるJavaScript書いた - yaakaito::Blog
http://d.hatena.ne.jp/yaakaito/20110214/1297714047 #JavaScript
think49 think49
[JavaScript][ECMAScript] はてな記法をパースしてHTMLタグに変換するJavaScriptライブラリ。 / はてな記法(の一部)をHTMLに変換してくれるJavaScript書いた - yaakaito::Blog http://htn.to/NuUuQz
think49 think49
think49 think49
markdown の公式サイトは http://daringfireball.net/projects/markdown/ でいいのかな?
think49 think49
think49 think49
HTMLパーサもどきは http://vird2002.s8.xrea.com/javascript/document.implementation.createHTMLDocument.js を元にすればいけそう。
think49 think49
"唯一、<div>、<table>、<pre>、<p>などブロックタグを使用するときにはルールがあります。 これらのタグで囲まれた前後は空行でなければいけません。"
http://goo.gl/oKWCz #markdown
http://goo.gl/oKWCz #markdown
think49 think49
XML1.0-Syntax.js を書いてる。