diff --git a/examples/table-as-list-item/docs/index.md b/examples/table-as-list-item/docs/index.md new file mode 100644 index 0000000..f76c54d --- /dev/null +++ b/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 diff --git a/examples/table-as-list-item/docs/table.md b/examples/table-as-list-item/docs/table.md new file mode 100644 index 0000000..1a39e31 --- /dev/null +++ b/examples/table-as-list-item/docs/table.md @@ -0,0 +1,3 @@ +| A | B | +| --- | --- | +| foo | bar | diff --git a/examples/table-as-list-item/mkdocs.yml b/examples/table-as-list-item/mkdocs.yml new file mode 100644 index 0000000..0f97266 --- /dev/null +++ b/examples/table-as-list-item/mkdocs.yml @@ -0,0 +1,3 @@ +site_name: Foo +plugins: + - include-markdown