NaturalDocs:: NDMarkup

A package of support functions for dealing with NDMarkup

Usage and Dependencies

The package doesn’t depend on any Natural Docs packages and is ready to use right away. 

Summary
A package of support functions for dealing with NDMarkup.
Substitutes certain characters with their NDMarkup amp chars.
Replaces NDMarkup amp chars with their original symbols.

ConvertAmpChars

sub ConvertAmpChars #(text)

Substitutes certain characters with their NDMarkup amp chars. 

Parameters

textThe block of text to convert. 

Returns

The converted text block. 

RestoreAmpChars

sub RestoreAmpChars #(text)

Replaces NDMarkup amp chars with their original symbols. 

Parameters

textThe text to restore. 

Returns

The restored text.