aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--README.md10
2 files changed, 10 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index c3f9040..69ed0c3 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,8 @@
* Add style mapping for small caps.
+* Add style mapping for tables.
+
# 1.3.1
* Read children of w:object elements.
diff --git a/README.md b/README.md
index 96a41f2..ae8bc31 100644
--- a/README.md
+++ b/README.md
@@ -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`: