summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2017-11-04 11:11:04 +0000
committerMichael Williamson <mike@zwobble.org>2017-11-04 11:11:04 +0000
commitedb3cc2fb70ec37597ba153c4a9050b5cea36753 (patch)
treed9d350634b9147fc0988adf9ece9d97949b5f3a4
parent1ae8ec5852c9ad94f1773d0014da2bb18887ce9e (diff)
Document style mappings for tables
-rw-r--r--NEWS4
-rw-r--r--README.md10
2 files changed, 12 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index b1ba274..b42ae42 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+# 1.4.4
+
+* Add style mapping for tables.
+
# 1.4.3
* Add style mapping for small caps.
diff --git a/README.md b/README.md
index 8881ea0..6b1fe5b 100644
--- a/README.md
+++ b/README.md
@@ -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`: