diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-11-04 12:00:34 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2017-11-04 12:00:34 +0000 |
| commit | 3841f73dbaf622944f050d6140dd7d0f7d3dd391 (patch) | |
| tree | b6ec784b91a58d54f0143d212d4f08a2595d296e | |
| parent | 2c8eb41429855af4ffba5b72fca11e08d699c08c (diff) | |
Document style mappings for tables
| -rw-r--r-- | NEWS | 2 | ||||
| -rw-r--r-- | README.md | 10 |
2 files changed, 10 insertions, 2 deletions
@@ -12,6 +12,8 @@ * Add style mapping for small caps. +* Add style mapping for tables. + # 1.3.1 * Read children of w:object elements. @@ -348,7 +348,7 @@ In this case, style mappings similar to `p[style-name='Aside Heading'] => div.as ### Document element matchers -#### Paragraphs and runs +#### Paragraphs, runs and tables Match any paragraph: @@ -362,7 +362,13 @@ Match any run: r ``` -To match a paragraph or run with a specific style, +Match any table: + +``` +table +``` + +To match a paragraph, run or table with a specific style, you can reference the style by name. This is the style name that is displayed in Microsoft Word or LibreOffice. For instance, to match a paragraph with the style name `Heading 1`: |
