Modify

Opened 4 years ago

Closed 4 years ago

#14024 closed enhancement (fixed)

Support TracLinks, WikiMacros and WikiProcessors

Reported by: Cinc-th Owned by: Cinc-th
Priority: normal Component: MarkdownMacro
Severity: normal Keywords:
Cc: Trac Release: 1.4

Description

To be a viable replacement for Tracs wiki syntax TracLinks, WikiMacros and WikiProcessors should be supported.

Addition of this feature shouldn't break Markdown syntax if possible.

Some implementation ideas:

  • Always use normal Trac syntax, possibly shadowing a Markdown feature
  • To prevent shadowing invent a new syntax for Trac features
  • Make Trac features configurable so the user may decide to shadow Markdown syntax in favor of Trac

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by Cinc-th

In 18321:

MarkdownMacro: reworked handling of references, shortrefs, links and autolinks by using extensions with proper priority instead of regex preprocessing.

  • Raw html like Foo <i>bar</i>. works in markdown
  • Enabled markdown extra extension so markdown inside html tags is supported
  • Added test cases for TracLinks, ticket links and WikiMacros

Refs #14024

comment:2 Changed 4 years ago by Cinc-th

Owner: set to Cinc-th
Status: newassigned

comment:3 Changed 4 years ago by Cinc-th

In 18323:

MarkdownMacro: added support for WikiProcessors by providing a preprocessor extension.

Refs #14024

comment:4 Changed 4 years ago by Cinc-th

Resolution: fixed
Status: assignedclosed

WikiProcessors, TracLinks and WikiMacros are now supported. See MarkdownMacro#Usage for more information.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Cinc-th.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.