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

Issue with Github pages: rendering of headers not working #81

Closed
jonasbn opened this issue Dec 25, 2016 · 3 comments
Closed

Issue with Github pages: rendering of headers not working #81

jonasbn opened this issue Dec 25, 2016 · 3 comments
Assignees
Labels
question Indicates that an issue or pull request needs more information

Comments

@jonasbn
Copy link
Collaborator

jonasbn commented Dec 25, 2016

I have been playing around with Github pages over the holiday and applying use of Github pages and themes is easier than ever.

But it seems that the themes do not render heading of pages correctly, when using MarkdownTOC.

See my Today I Learned repository for example, I have tried other themes with the same result.

I suspect that the Markdown renderers are confused by the leading anchors. I am working on a fix, but I cannot run the unit-test suite as described in the contribution guidelines and the guide by randy3k - any advice most welcome:

ERROR: Start directory is not importable: '/Users/jonasbn/Library/Application Support/Sublime Text 3/Packages/MarkdownTOC/tests'

How do I get the unit-test suite to work on the Github repository instead of the installed package?

Merry x-mas,

jonasbn

@jonasbn jonasbn changed the title Issue with Github pages Issue with Github pages: rendering of headers not working Dec 25, 2016
@naokazuterada
Copy link
Owner

naokazuterada commented Dec 27, 2016

But it seems that the themes do not render heading of pages correctly, when using MarkdownTOC.

Why don't you set autoanchor=false to avoid this issue?

How do I get the unit-test suite to work on the Github repository instead of the installed package?

I have no idea, sorry. But you can run it on travis-ci server.

@jonasbn
Copy link
Collaborator Author

jonasbn commented Dec 27, 2016

Thanks @naokazuterada I will do some more experimentation :-)

@jonasbn jonasbn self-assigned this Dec 27, 2016
@jonasbn jonasbn added the question Indicates that an issue or pull request needs more information label Dec 27, 2016
@jonasbn
Copy link
Collaborator Author

jonasbn commented Dec 27, 2016

Works like a charm @naokazuterada - thanks

@jonasbn jonasbn closed this as completed Dec 27, 2016
@jonasbn jonasbn mentioned this issue Jan 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Indicates that an issue or pull request needs more information
Projects
None yet
Development

No branches or pull requests

2 participants