dlang-community / harbored-mod

A documentation generator for D with support for both DDoc and Markdown.
Boost Software License 1.0
18 stars 14 forks source link

Substitutions with regex #12

Open kiith-sa opened 9 years ago

kiith-sa commented 9 years ago

Allow the user to specify substitutions to change certain words/strings.

Match by regexps.

E.g. "Component": Component

(This is a trivial example; more useful would be e.g a regexp matching all different cases and synonyms of word Component starting/ending with word boundaries)

These substitutions should be processed before both DDoc and Markdown, so they may contain both DDoc macros and Markdown syntax.