Whether you use hyperdown or other markdown parsers, the first sentence is tagged with pre by default

whether you use hyperdown or other markdown parsers, the first sentence is tagged with pre by default

uses a third-party php framework. I have tried hyperdown and Marked before, and I have also tried to add some js related to text formatting and some parsers related to php. The first line will be

markdown

<h3></h3>
<body>
 <div class="container">
    <div id="content" style="display: none;">
        <?php print_r($article["content"]); ?>
    </div>
    <div id="html"></div>
 </div>
 <script type="text/javascript" src="https://unpkg.com/hyperdown@2.3.1/Parser.js"></script>
 <script type="text/javascript">
     var markdownText = document.getElementById("content").innerHTML
     var parser = new HyperDown;
    document.getElementById("html").innerHTML = parser.makeHtml(markdownText);
 </script>
</body>
by default.

trouble the gods to take a look at it

Apr.06,2022

forgot to upload the picture before



Menu