Moving Markdown towards a standard syntax
Waylan Limberg
waylan.limberg at icloud.com
Thu Aug 14 22:16:45 EDT 2014
-----Original Message-----
From: Markdown-Discuss [mailto:markdown-discuss-bounces at six.pairlist.net] On
Behalf Of John MacFarlane
Sent: Thursday, August 14, 2014 2:10 PM
To: Discussion related to Markdown.
Subject: Re: Moving Markdown towards a standard syntax
> Here's an attempt of my own, which I've been working on for some time:
http://jgm.github.io/stmd/
Btw, when I ran the following JavaScript on the page (replace all spaces
with middle dots), it made some of the examples much more clear (tested in
Google Chrome only):
```javascript
var codeblocks = $$("pre.markdown code");
var space = new RegExp(" ", "g");
for (var i=0; i<l; i++){
codeblocks[i].innerHTML = codeblocks[i].innerHTML.replace(space,
'·');
}
```
Just open the console and run that code on the page. Thought it might help
others reading the examples.
Waylan Limberg
More information about the Markdown-Discuss
mailing list