0

I have a rather nasty, huge HTML document that I converted to markdown.

When I do the usual layout and view the .md file in GitHub via preview tab, it looks fine. However, when I serve it and view it on my actual site, it renders all the HTML tags.

I have tried using different markdown interpreters like redcarpet versus kramdown, to no avail.

How do I get a good markdown rendering of HTML similar to the GitHub behavior?

Link to repo (notice the clean GitHub Flaovred markdown)

Zelgius
  • 3
  • 3

1 Answers1

0

This is not a markdown but a html document.

Rename it to test.html

Remove html and body tags

give it a :

---
layout: page
title: Test
permalink: /test2/
---

I've made a pull request that works to you repo.

Note: before pasting word html to the web you can clean it.

David Jacquel
  • 51,670
  • 6
  • 121
  • 147