Edgewall Software

Opened 12 years ago

Last modified 10 years ago

#10734 new enhancement

``` as a {{{ alternative

Reported by: anatoly techtonik <techtonik@…> Owned by:
Priority: normal Milestone: topic-wikiengine
Component: wiki system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


It is not that GitHub uses them, it is that ``` are easier to type than {{{ and }}}

Attachments (0)

Change History (4)

in reply to:  description comment:1 by Remy Blank, 12 years ago

Replying to anatoly techtonik <techtonik@…>:

it is that ``` are easier to type than {{{ and }}}

Not on all keyboards :( On my keyboard, ` is a dead key, so it requires a space afterwards.

comment:2 by Christian Boos, 12 years ago

Milestone: 0.14-wikiengine

Good idea, but the implementation might prove to be difficult, especially in the current form of the Wiki parser. The first thing that come to mind is the already complex regexp for definition lists.

For GitHub compatibility, we'll have to support:

  • inline quoting (e.g. ``` something to `quote`! ```),
  • block grouping; they must be paired independently from the curly braces blocks
    • syntax highlighting by specifying the formatter to use (much similar to what we do with {{{#!wikiprocessor

(what might be trivial to do though, if you really want to support them instead of the curly braces, is to just replace the constant STARTBLOCK_TOKEN, STARTBLOCK, ENDBLOCK and ENDBLOCK_TOKEN)

comment:3 by anatoly techtonik <techtonik@…>, 12 years ago

Is it possible to make wiki parser an external component for experiments and embedding in other apps, so that for example GitHub could reuse it much like it reuses doctools for reST?

comment:4 by anonymous, 10 years ago

Perhaps switching to a different keyboard layout would do the trick? As a developer I have used the standard german keyboard layout for quite a while. But when switching to the Mac platform, I found that the keyboard layout there was even more intriguing and, to say the least, frustrating. So I bought me a keyboard with US layout and switched to US layout and, finally, both [] and and {} are a hassle no more.

And, using proper shortcuts, I can switch between layouts in no time.

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.