>>> I'm not sure the indentation feature is so useful. After all, you >>> can use the old syntax if you want indentation. What do you think? >> >> I'd prefer to keep it simple and leave out the indentation feature.I would also prefer to leave this out.>>> Perhaps an alternative would be to use ++++s instead of ~~~~s. >> Advantages: Not currently used for anything in markdown or >> extensions, >> vertically centered on the line in most fonts. Disadvantage: ugly? > > Ugly indeed. What I've seen used for that is a line of dash: ----, > but that would trigger a horizontal line and I don't feel like > overriding that.Dashes are also used by Setext headers. Though not visually appealing, are there any (technical) thoughts on backticks (which are currently used for <code>)? `` "Hello, code!" `` What about colons? :::::::: "Hello, code!" :::::::: Bruce Phillips
Bruce Phillips wrote:> Though not visually appealing, are there any (technical) thoughts on > backticks (which are currently used for <code>)? > > `` > "Hello, code!" > ``I like this idea.
On Oct 8, 2007, at 18:03 , Jacob Rus wrote:> Bruce Phillips wrote: >> Though not visually appealing, are there any (technical) thoughts >> on backticks (which are currently used for <code>)? >> `` >> "Hello, code!" >> `` > > I like this idea.Perhaps triple backticks (similar to triple-quoting in, e.g., Python)? -- Magnus Lie Hetland http://hetland.org
Le 2007-10-08 ? 11:52, Bruce Phillips a ?crit :> Though not visually appealing, are there any (technical) thoughts > on backticks (which are currently used for <code>)? > > `` > "Hello, code!" > ``Using backticks (in any number) is likely to conflict with code spans. You can start a code span with any number of consecutive backticks (and stop it with the same number). The above example is seen by current Markdown parsers as a paragraph containing a code span. Do we want to change the behaviour when backticks are alone on their line? I'm not sure it'd be wise.> What about colons? > > :::::::: > "Hello, code!" > ::::::::I still prefer tildes `~~~~` as they're closer in appearance to hyphens `----` I've seen used in email, [ddoc][1] embedded code, and some other places. Technically, colons would be as good, but I prefer the aesthetics of a tilde line. [1]: http://www.digitalmars.com/d/ddoc.html Michel Fortin michel.fortin at michelf.com http://michelf.com/
> Date: Tue, 09 Oct 2007 22:41:41 -0400 > From: Michel Fortin <michel.fortin at michelf.com> > > Here are our options: ... Any opinion? Should we look into non- > ASCII characters too? > > Personally, my preference still goes to tilde.After comparing various characters in a real document, I also prefer the tilde.> Date: Mon, 08 Oct 2007 07:39:13 -0400 > From: Michel Fortin <michel.fortin at michelf.com> > ~~~~~ {.haskell} > inlineNote = try $ do > failIfStrict > char '^' > contents <- inlinesInBalanced "[" "]" > return $ Note [Para contents] > ~~~~~ > > Here I've followed the planned syntax for adding attributes to > Markdown elements which was discussed some time ago on this list, > where attributes are in braces and class names can be added by > preceding them with a dot. It is still unimplemented in PHP Markdown > Extra, but I think Markuru has most of it. I think it's better to > reuse that than to create an entirely new syntax for the same purpose.I'd like to see this as well. Bruce Phillips
On Feb 16, 2008, at 7:23 AM, Trent Mick wrote:>> You get the idea. This mostly becomes a problem when writing >> technical >> docs with frequent chunks of embedded code, and the solution would >> appear to be to have different markup for begin-block and end-block. >> This is the approach that the Trac wiki syntax takes, using >> >> {{{ >> chunk of code here >> }}} > > > This is also the approach of the Google Code wiki syntax. As well, the > language for language-specific syntax highlighting can be specified > via: > > {{{{Python} > print "hello world" > }}}Trac also uses {{{ }}}. Language is specified with a #!python as the first line. I like {{{LANG} better though. Best regards, -- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: melo at simplicidade.org Use XMPP!