3 ms·
uh. Not really good markdown ::: {#fsf-links-outer} ::: {#fsf-links .yui-g .visualNoPrint .noMobile} <div> ::: yui3-g-r ::: {.yui3-u-1-2 .
by rurban 3y ago
uh. Not really good markdown
::: {#fsf-links-outer}
::: {#fsf-links .yui-g .visualNoPrint .noMobile}
<div>
::: yui3-g-r
::: {.yui3-u-1-2 .yui3-g-r .first}
::: {#sitemap-1 .yui3-u-1-2 .first}
There are much better HTML to MD Converters
- fiddlosopher 3y agoIf you don't want pandoc's fenced divs, just choose a markdown dialect that doesn't support them: e.g., pandoc -f html -t gfm https://www.fsf.org Or, to get rid of the divs and spans altogether, disable raw HTML as well: pandoc -f html -t gfm-raw_html https://www.fsf.org
- rurban 3y agothose have even raw div's then. ... </div> <div id="sitemap-2" class="yui3-u-1-2 first"> ...
- fiddlosopher 3y agoAs I explained, if you don't want raw HTML, use the second form: pandoc -f html -t gfm-raw_html https://www.fsf.org | grep div gives no output. (If you get different results, it is possible that you are using an earlier pandoc version and something changed in this regard.)