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

Compatibility with Gitlab markdown #22

Open
csantosb opened this issue Jun 30, 2016 · 6 comments
Open

Compatibility with Gitlab markdown #22

csantosb opened this issue Jun 30, 2016 · 6 comments

Comments

@csantosb
Copy link

Hi,

It would be great if, in addition to github, this package might generate tables
of contents useful when hosting projects in gitlab.

Thanks,

@snosov1
Copy link
Owner

snosov1 commented Jun 30, 2016

I would love to have that, too. However, I'm not a frequent GitLab user. Do you care to submit a PR with the implementation? The only thing you need to do is to implement a function toc-org-hrefify-gl, similar to toc-org-hrefify-gh that converts text to "href ids". I.e. for github it downcases everything, replaces spaces with -, etc.

@csantosb
Copy link
Author

csantosb commented Jul 1, 2016

It seems there is an issue at Gitlab side

I'll wait until they fix it.

@snosov1
Copy link
Owner

snosov1 commented Jul 1, 2016

Okey-dokey!

@nephewtom
Copy link

It is sad, but Gitlab still does not properly support a way of dealing with table of contents for org-mode.
It passed more than 6 years and the pending issue on Gitlab was moved, but not resolved.

Asked about it on Gitlab forum without any answer and unfortunately toc-org didn't work either.
It is a Gitlab issue, but nobody seems to care about it.

@snosov1
Copy link
Owner

snosov1 commented Feb 14, 2023

Yeah, I guess, nobody really cares enough about it.

BTW, toc-org has some support for markdown. Is it a plausible workaround?

@nephewtom
Copy link

For Markdown, I recall to have used markdown-toc.

Unfortunately, have a bunch of Org mode files, and like to document with it.
This is fine for Github, but not for Gitlab... Sigh!
For Gilab, will write directly on Markdown, or export to markdown from org-mode.

Anyway, thank you for writing toc-org!
😉

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

3 participants