mirror of
https://github.com/boostorg/quickbook.git
synced 2026-01-26 06:42:27 +00:00
Not great since it closes the comments around the escaped code. But to nest it properly will require a bigger change. Would also be nice to deal with escape in other contexts - such as strings. [SVN r71098]
23 lines
497 B
Plaintext
23 lines
497 B
Plaintext
[article C++ Code Blocks
|
|
[quickbook 1.5]
|
|
]
|
|
|
|
// No escape
|
|
/* No escape */
|
|
/* No escape
|
|
* with newlines
|
|
*/
|
|
// In Header: <``[@boost:/boost/optional/optional.hpp boost/optional/optional.hpp]``>
|
|
/* In Header: <``[@boost:/boost/optional/optional.hpp boost/optional/optional.hpp]``> */
|
|
/* Multiple escapes: ``/italic/``
|
|
* ``_underline_````*bold*``
|
|
*/
|
|
|
|
A badly formed comment:
|
|
|
|
/* Oh dear
|
|
|
|
A badly formed comment with an escape:
|
|
|
|
/* Oh dear ``*bold*``
|