< Syntax

WikiSyntax

Posted by jneug, Last update about 1 month ago

UPDATES

about 1 month ago

Magic words and behavior switches are now highlighted.
Additionally, typing {{, __ or << will trigger auto completion for magic words, switches and some common html tags.

show all updates...

about 1 month ago

Magic words and behavior switches are now highlighted.
Additionally, typing {{, __ or << will trigger auto completion for magic words, switches and some common html tags.

about 1 month ago

  • Improved parsing of template tags: Template names and parameters are parsed separately and marked somewhat more reliably. More complex cases are beyond simple regular expressions.
  • <nowiki> tags added.
  • <includeonly>, <onlyinclude> and <noinclude> added.
  • Parser tags like {{#tagname:something}} added.
  • Category links added.

Syntax file for MediaWikis WikiSyntax (ver. 0.2).

Matches most of the common WikiSyntax markup.

There are some limitations:

  • Arbitrary template parameters are too complex to be parsed reliably.
  • Template parameters with nested template tags are not always marked correctly.
  • Support for tables is limited. Table cells will only be marked if they are on separate rows beginning with |
  • Image and category markup is only correctly marked for english and german versions.
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.