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

Getting tidy-markdown to leave this TOC Markdown untouched #52

Open
JetStreamVelocity opened this issue Apr 10, 2017 · 0 comments
Open

Comments

@JetStreamVelocity
Copy link

Description

Background:

I am using the Jekyll Documentation Theme for a project. It uses a piece of Markdown for setting up the table of contents on a page.

* Table of Contents
{:toc}

Problem:

Need to get Tidy Markdown (in use as an atom-beautify plugin) to leave it untouched. The beautified code doesn't play well with Jekyll. Is there a way to tell Tidy Markdown not to reformat this?

I have played with the settings but cannot get it to work. I have posted some debug information. If more information would help, I am happy to try to obtain it, but might need some guidance on obtaining it.

Is this a bug? If not, any workaround?

PS: I am new to Markdown

Input Before Beautification

This is what the code looked like before:

* Table of Contents
{:toc}

Expected Output

The beautified code should have remained like this:

* Table of Contents
{:toc}

Actual Output

The beautified code actually looked like this:

Using Tidy-Markdown:

- Table of Contents {:toc}
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