diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-11-04 11:27:06 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2017-11-04 11:27:06 +0000 |
| commit | c3fbf0f9ecb2d61c3a364311e074cda6de467878 (patch) | |
| tree | 1e56bb84e4db56eba352441f699f096c01733c49 | |
| parent | ade2f7706813d785345563c57e7baf902ea2a7f4 (diff) | |
Document style mappings for tables
| -rw-r--r-- | NEWS | 4 | ||||
| -rw-r--r-- | README.md | 10 |
2 files changed, 12 insertions, 2 deletions
@@ -1,3 +1,7 @@ +# 1.4.4 + +* Add style mapping for tables. + # 1.4.3 * Add style mapping for small caps. @@ -503,7 +503,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: @@ -517,7 +517,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`: |
