Skip to content

Commit

Permalink
Add example including table as list item (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Jan 29, 2024
1 parent e87d4e9 commit db45558
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
22 changes: 22 additions & 0 deletions examples/table-as-list-item/docs/index.md
@@ -0,0 +1,22 @@
# Table included as part of a list item

1. A list entry
1. Item with table

{%
include-markdown "./table.md"
comments=false
%}

1. Another list entry

## Expected output

1. A list entry
1. Item with table

| A | B |
| --- | --- |
| foo | bar |

1. Another list entry
3 changes: 3 additions & 0 deletions examples/table-as-list-item/docs/table.md
@@ -0,0 +1,3 @@
| A | B |
| --- | --- |
| foo | bar |
3 changes: 3 additions & 0 deletions examples/table-as-list-item/mkdocs.yml
@@ -0,0 +1,3 @@
site_name: Foo
plugins:
- include-markdown

0 comments on commit db45558

Please sign in to comment.