Flat code block syntax

John Gabriele jmg3000 at gmail.com
Wed Dec 5 00:18:02 EST 2007


On Dec 5, 2007 12:08 AM, Waylan Limberg <waylan at gmail.com> wrote:

> On Dec 4, 2007 11:52 PM, John Gabriele <jmg3000 at gmail.com> wrote:

> [snip]

> > I tend to like:

> >

> > ---{code}---

> > code goes here

> > and here too

> > ---{/code}---

> >

> [snip]

> > * Most everyone putting a block of code in a document probably knows

> > that if "foo" starts something, then "/foo" ends it. If not, it's a

> > pretty simple rule to pick up.

>

> If your going to do that, you might as well just use raw html. While I

> agree that it looks nice, it's just more to type and too similar to

> html for my tastes.


Hm.

Just curious: what do you think of:

---8<---
code goes here
and here too
--->8---

?

---John


More information about the Markdown-Discuss mailing list