arturadib / strapdown

Instant and elegant Markdown documents in the browser
http://strapdownjs.com
MIT License
2.48k stars 410 forks source link

The xmp tag doesn't have to be a child of body #38

Closed ndossougbe closed 8 years ago

ndossougbe commented 10 years ago

See issue #27

The goal is to be able to do something like:

<html>
<title>Title</title>
<body>
    <div id="main">
        <div id="sidebar"></div>
        <xmp style="display:none">
## Markdown
        </xmp>
    </div>
    <script src="strapdown/v/0.2/strapdown.js"></script>
</body>
<html>
robbmj-index-exchange commented 8 years ago

Can this get merged?

ndossougbe commented 8 years ago

Ah I forgot I had this PR open. The patches after the first one are irrelevant to the present issue. Closing this in favour of pull/68, which I made from a different branch and only has that patch.