Reveal.js: Markdown tables work with inline markdown, but doesn't work with external markdown

Created on 26 Sep 2015  路  3Comments  路  Source: hakimel/reveal.js

Inline

            <div class="slides">
                <section data-markdown>
                    <script type="text/template">
|h1|h2|
|--|--|
|a|b|
                    </script>
                </section>
            </div>

image

External

            <div class="slides">
                <section data-markdown="content.md"
                         data-separator="---"
                         data-separator-vertical="--"
                         data-separator-notes="^Note:"
                         data-charset="iso-8859-15">
                </section>
            </div>

image

invalid

Most helpful comment

Found the problem. I had the data-separator="---". This caused problems with the table header row. Changing it to data-separator="^---$" did the trick for me.

All 3 comments

Sorry, this may be a non-issue. Tables with external markdown is now working for me and I'm not sure what I changed.

I'm seeing the same problem. Tables in external markdown don't work for me.

Found the problem. I had the data-separator="---". This caused problems with the table header row. Changing it to data-separator="^---$" did the trick for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Enosinger picture Enosinger  路  4Comments

alesarrett picture alesarrett  路  5Comments

MurhafSousli picture MurhafSousli  路  5Comments

nedbat picture nedbat  路  3Comments

togakangaroo picture togakangaroo  路  4Comments