Module notedown_ast::utils[][src]

Macros

slugify

Structs

TOC

Enums

TextError

Traits

Slugify
ToHTML

Functions

capitalize_first_letter
dedent

Removes common leading whitespace from each line.

dedent_less_than

Removes at most n leading whitespace from each line

indent

Adds spaces to each non-empty line.

indent_count
indent_with

Adds prefix to each non-empty line.

join_ast_list
slugify
unescape

Takes in a string with backslash escapes written out with literal backslash characters and converts it to a string with the proper escaped characters.

unescape_dec_chars

unescape \u{xx xx xx}

unescape_hex_chars

unescape \U{xx xx xx}

unescape_only
unescape_unchecked

unchecked version of unescape

unescape_utf8
url_decode
url_encode