Files
quickbook/test/code-block-cpp.quickbook
Daniel James 4713c1e211 Quickbook: Escapes in syntax highlighted comments.
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]
2011-04-08 00:09:59 +00:00

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*``