diff options
author | Brad King <brad.king@kitware.com> | 2018-05-03 18:48:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-05-07 14:10:37 (GMT) |
commit | 7d918b3cee64961a1ed5e9c5a28f29cf0e48c130 (patch) | |
tree | 47dcff99686a84d3a87af3e6d4ad8230c93e528f /Source/cmRST.h | |
parent | 5e5ef61ed3b5808dfe1a71623ec12c451d7fe385 (diff) | |
download | CMake-7d918b3cee64961a1ed5e9c5a28f29cf0e48c130.zip CMake-7d918b3cee64961a1ed5e9c5a28f29cf0e48c130.tar.gz CMake-7d918b3cee64961a1ed5e9c5a28f29cf0e48c130.tar.bz2 |
cmRST: Parse inline links and inline literals
Render links as the link text only. Render literals as themselves.
This is closer to what the Sphinx text generator does.
Diffstat (limited to 'Source/cmRST.h')
-rw-r--r-- | Source/cmRST.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmRST.h b/Source/cmRST.h index d1a8e27..ee47867 100644 --- a/Source/cmRST.h +++ b/Source/cmRST.h @@ -85,6 +85,8 @@ private: cmsys::RegularExpression NoteDirective; cmsys::RegularExpression ModuleRST; cmsys::RegularExpression CMakeRole; + cmsys::RegularExpression InlineLink; + cmsys::RegularExpression InlineLiteral; cmsys::RegularExpression Substitution; cmsys::RegularExpression TocTreeLink; |