diff options
| author | Michael Williamson <mike@zwobble.org> | 2020-04-17 16:31:02 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2020-04-17 16:31:02 +0100 |
| commit | 04965d986b516f4b62271b00e946e302765ad2ba (patch) | |
| tree | f4d7eb47bd9927eccbad091fc2f040ef8a93cea9 | |
| parent | 254536b18fe0e655fb29cf26dbe9df65b38cf7e9 (diff) | |
Add links to "Writing style maps" in README
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -105,7 +105,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: @@ -241,7 +241,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. |
