diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-22 22:07:38 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-22 22:18:03 -0800 |
commit | a74295a1ea686611498a75dd45597d224ce99287 (patch) | |
tree | a472e4d523d6e7aa72f4db62ca3b578fc4728ff5 /man/man3 | |
parent | 4296462bfe31c877f4826f5734813c88c7240770 (diff) |
Rename 'header' -> 'heading'.
See jgm/CommonMark commit 0cdbcee4e840abd0ac7db93797b2b75ca4104314
Note that we have defined
cmark_node_get_header_level = cmark_node_get_heading_level
and
cmark_node_set_header_level = camrk_node_set_heading_level
for backwards compatibility in the API.
Diffstat (limited to 'man/man3')
-rw-r--r-- | man/man3/cmark.3 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/man/man3/cmark.3 b/man/man3/cmark.3 index 817c2e9..a581759 100644 --- a/man/man3/cmark.3 +++ b/man/man3/cmark.3 @@ -1,4 +1,4 @@ -.TH cmark 3 "December 19, 2015" "LOCAL" "Library Functions Manual" +.TH cmark 3 "December 22, 2015" "LOCAL" "Library Functions Manual" .SH NAME .PP @@ -88,7 +88,7 @@ of \f[C]CMARK_EVENT_EXIT\f[]). The iterator will return natural application is an HTML renderer, where an \f[C]ENTER\f[] event outputs an open tag and an \f[C]EXIT\f[] event outputs a close tag. An iterator might also be used to transform an AST in some systematic way, -for example, turning all level\-3 headers into regular paragraphs. +for example, turning all level\-3 headings into regular paragraphs. .IP .nf \f[C] @@ -221,17 +221,17 @@ Sets the string contents of \f[I]node\f[]. Returns 1 on success, 0 on failure. .PP -\fIint\f[] \fBcmark_node_get_header_level\f[](\fIcmark_node *node\f[]) +\fIint\f[] \fBcmark_node_get_heading_level\f[](\fIcmark_node *node\f[]) .PP -Returns the header level of \f[I]node\f[], or 0 if \f[I]node\f[] is not -a header. +Returns the heading level of \f[I]node\f[], or 0 if \f[I]node\f[] is not +a heading. .PP -\fIint\f[] \fBcmark_node_set_header_level\f[](\fIcmark_node *node\f[], \fIint level\f[]) +\fIint\f[] \fBcmark_node_set_heading_level\f[](\fIcmark_node *node\f[], \fIint level\f[]) .PP -Sets the header level of \f[I]node\f[], returning 1 on success and 0 on +Sets the heading level of \f[I]node\f[], returning 1 on success and 0 on error. .PP |