Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alpeters@microsoft.com>2017-11-22 14:26:24 +0300
committerAlex Rønne Petersen <alpeters@microsoft.com>2017-11-23 16:16:03 +0300
commitaa19b6aa18ec730c8cb4294ad3218308f72a1e3b (patch)
treea31f1125ca0564276be31f90aa38ec38572121fe /docs
parent5d2febd9663d173d4f4b447ab8c099df7e2879f5 (diff)
[exdoc] Support more Doxygen-style formatting.
Diffstat (limited to 'docs')
-rw-r--r--docs/exdoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/exdoc b/docs/exdoc
index 0926047a0fe..38321c19c8b 100644
--- a/docs/exdoc
+++ b/docs/exdoc
@@ -227,6 +227,12 @@ sub process_formatting {
my ($content, $file_path, $current_line) = @_;
$_ = $$content;
+ # General formatting
+ s{\\b +(\w+)}{<strong>$1</strong>}g;
+ s{\\a +(\w+)}{<i>$1</i>}g;
+ s{\\e +(\w+)}{<i>$1</i>}g;
+ s{\\em +(\w+)}{<i>$1</i>}g;
+
# Constants
s{NULL}{<code>NULL</code>}g;
s{TRUE}{<code>TRUE</code>}g;