Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tables in documentation content not working #15

Open
simondean opened this issue Aug 18, 2016 · 0 comments
Open

Tables in documentation content not working #15

simondean opened this issue Aug 18, 2016 · 0 comments

Comments

@simondean
Copy link

Hi. Tables don't seem to work in documentation content. I can get things like lists and headers working but not tables.

Here's an example:

#%RAML 0.8
title: Example
documentation:
  - title: Example
    content: |
      Here is a list:

      * One
      * Two

      Here is a table:

      | One | Two |
      | --- | --- |
      | A   | B   |

Here's the resulting HTML from raml-convert:

<body data-spy="scroll" data-target="#sidebar">
    <div class="container">
        <div class="row">
            <div class="col-md-9" role="main">
                <div class="page-header">
                    <h1>Example documentation</h1>
                    <p><a href=""></a></p>


                        <h3 id=""><a href="#">Example</a></h3>
                        <p>Here is a list:</p>
<ul>
  <li>One</li>
  <li>Two</li>
</ul><p>Here is a table:</p><p>| One | Two | | --- | --- | | A | B |</p>

                </div>
                <h2>Resources</h2>


            </div>

            <div class="col-md-3">
                <div id="sidebar" class="hidden-print affix" role="complementary">
                    <ul class="nav nav-pills nav-stacked">

                    </ul>
                </div>
            </div>
        </div>
    </div>
</body>

You can see the tables aren't being converted to HTML.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant