Page MenuHomePhabricator

Wikicode syntax for writing programming code
Open, Needs TriagePublic

Description

Tracking task (Epic) for ideas related to adding/removing/changing wikicode syntax for writing programming code.

In general, programming code in wikicode needs tags to wrap it so that the following behaviors can be provided:

  • monospace formatting
  • code highlighting
  • <nowiki>
  • in some cases may behave as inline (single line). in other cases may behave as a block (multiline)

This is already implemented in various ways: <code>, <source>, <pre>, <syntaxhighlight>, <syntaxhighlight inline>. But there are several tickets proposing changes to this, or additional (usually shorter) syntax. Please see subtasks.

There's like 7 related tickets about this, so I figured giving them the same parent task would make tracking them easier.