Skip to content

Commit

Permalink
Document style mappings for tables
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilliamson committed Nov 4, 2017
1 parent ade2f77 commit c3fbf0f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions NEWS
@@ -1,3 +1,7 @@
# 1.4.4

* Add style mapping for tables.

# 1.4.3

* Add style mapping for small caps.
Expand Down
10 changes: 8 additions & 2 deletions README.md
Expand Up @@ -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:

Expand All @@ -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`:
Expand Down

0 comments on commit c3fbf0f

Please sign in to comment.