Skip to content

Commit e9ca472

Browse files
committed
Add multiline yaml table to example, see #47
1 parent e99b028 commit e9ca472

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- term: prompt
2+
definition: |
3+
A
4+
B
5+
C
6+
- term: else
7+
definition: cool

tests/fixtures/basic_setup/docs/page_read_yaml.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@
55
The latest numbers using `read_yaml()`:
66

77
{{ read_yaml('assets/tables/yaml_table.yml') }}
8+
9+
## with a multi-line yaml
10+
11+
Note that mkdocs does not support multi-line cells in markdown tables, see https://github.com/timvink/mkdocs-table-reader-plugin/issues/47.
12+
13+
{{ read_yaml('assets/tables/multiline_yaml.yml') }}

0 commit comments

Comments
 (0)