diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-11-04 11:11:04 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2017-11-04 11:11:04 +0000 |
| commit | edb3cc2fb70ec37597ba153c4a9050b5cea36753 (patch) | |
| tree | d9d350634b9147fc0988adf9ece9d97949b5f3a4 | |
| parent | 1ae8ec5852c9ad94f1773d0014da2bb18887ce9e (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. @@ -635,7 +635,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: @@ -649,7 +649,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`: |
