There has been a discussion about TW syntax changes at 
hangout #9 http://www.youtube.com/watch?v=zQ_pM286Ew8 starting at 00:16:30

On Wednesday, October 30, 2013 7:02:41 PM UTC+1, Stephan Hradek wrote:
>
> At the moment I know about these:
>
> [[ link ]]
> ''bold''**
> //italic//**
> __underscore__
> ^^superscript^^
> ,,subscript,,
> ~~strikethrough~~
> @@.class
> styled block
> @@
>
>
there is a bit more :)
[1] http://five.tiddlywiki.com/static/WikiText
and 
[2] http://five.tiddlywiki.com/static/TypedBlockWikiText.html
 

> You see: Always 2 characters.
>
> Exceptions are lists, headlines and code.
>
> While I would like to stick to headlines and lists, I'd propose to just use
>
> ``code``
> for code text.
>
With TWc the <code> tag was created with {{{inline code}}} which is 
cumbersome to type. `backtick` is fast.

github: https://help.github.com/articles/github-flavored-markdown
 - which has a lot of traction lately uses the single `backtick` for it. 
 - codeblocks ```

The original Markdown definition: 
http://daringfireball.net/projects/markdown/syntax#code
 - uses singel `backtick` the same way 
 - and defines: ``There is a literal backtick (`) here.`` ... That's 
exactly what we discussed in the last hangout # 19

 

> Additionally I propse to get rid of trippling thos characters for blocks.
>
 -1 
as you can see at [2] there are typed code blocks that start with eg: 
$$$.svg because Jeremy didn't like ```.svg, which would be similar to 
"Github flavored Markdown". I'd prefer the later too.

``` ... in a single line actually produces a <pre> element
$$$.json ... produces a <pre> element

` ... produces a <code> element


and then we could even have
>
> //
>
> italic block
>
> //
>
// .. creates an <em> element
To create a DOM block element you'd need to cover it with a <div 
class="something">  which imo is not what one would expect.
 

> What do you think?
>
 I like the idea to have a simple syntax but some of your sugestions may 
have unwanted side effects. 

-------------

While TW5 syntax is not compatible with TWc syntax. It should be familiar 
to TWclassic users. If we change every single bit of it, it may hurt too 
much:)
Have a look at the hangout # 9 syntax discussion.


just my thoughts
-mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to