diff options
| author | Michael Williamson <mike@zwobble.org> | 2020-04-17 16:31:42 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2020-04-17 16:31:42 +0100 |
| commit | 7b123d74a76ca5ce50bfb99fda635a6d8660f7d3 (patch) | |
| tree | 0b0bdb29243bdd16ababe7ed27f9e1ad0e0cd70b | |
| parent | 5cd2f5837ba9e81a39fa5e84de3cd069535195cc (diff) | |
Add links to "Writing style maps" in README
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -100,7 +100,7 @@ Mammoth maps some common .docx styles to HTML elements. For instance, a paragraph with the style name `Heading 1` is converted to a `h1` element. You can add custom style maps by calling `AddStyleMap(string)`. -A description of the syntax for style maps can be found in the section "Writing style maps". +A description of the syntax for style maps can be found in the section ["Writing style maps"](#writing-style-maps). For instance, if paragraphs with the style name `Section Title` should be converted to `h1` elements, and paragraphs with the style name `Subsection Title` should be converted to `h2` elements: @@ -236,7 +236,7 @@ Methods: * `DocumentConverter AddStyleMap(string styleMap)`: add a style map to specify the mapping of Word styles to HTML. The most recently added style map has the greatest precedence. - See the section "Writing style maps" for a description of the syntax. + See the section ["Writing style maps"](#writing-style-maps) for a description of the syntax. * `DocumentConverter DisableDefaultStyleMap()`: by default, any added style maps are combined with the default style map. |
