Opened 13 years ago
Last modified 11 years ago
#10734 new enhancement
``` as a {{{ alternative
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | topic-wikiengine |
Component: | wiki system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
It is not that GitHub uses them, it is that ```
are easier to type than {{{
and }}}
Attachments (0)
Change History (4)
comment:1 by , 13 years ago
comment:2 by , 13 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
- syntax highlighting by specifying the formatter to use (much similar to what we do with
(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 , 13 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 , 11 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.
Replying to anatoly techtonik <techtonik@…>:
Not on all keyboards :( On my keyboard, ` is a dead key, so it requires a space afterwards.