-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Markdown capable Sphinx #825
Comments
From Robert Lehmann on 2011-11-21 08:57:50+00:00 You'd need to generate a Docutils doctree from Markdown documents. StackOverflow has an useful discussion on that topic. http://stackoverflow.com/questions/2471804/using-sphinx-with-markdown-instead-of-rst#2487862 While I, personally, think ReST is perfectly fine (and would disagree with your point about enforcing standards by introducing //another// input language) we are happy to accept patches. Other than that I don't think this is a top priority task for any contributor and am tempted to close as wontfix. |
From sgenoud on 2013-08-25 15:12:13+00:00 I have started to work on a markdown parser that generates a Docutils doctree. You can have a look at it here: https://github.com/sgenoud/remarkdown |
From Matt Hickford on 2014-09-14 17:43:10+00:00 Markdown is a pervasive format made by popular by GitHub, Stack Overflow and Reddit. For better or worse, it's familiar to millions of people. It shouldn't be necessary to learn a new markup language to document your project. Out-the-box support for Markdown in Sphinx would let swathes of people write and edit documentation who were previously discouraged by the barrier of learning ReStructuredText. Note also this is a hugely popular request on Stack Overflow https://stackoverflow.com/questions/2471804/using-sphinx-with-markdown-instead-of-rst |
From Georg Brandl on 2014-09-17 07:52:05+00:00 Yep, I know and I'd welcome Markdown support in Sphinx. But it's unlikely that I will find time to implement it, and there may be some hairy questions involved (Markdown syntax is less powerful than rst, so how do you map the roles/directives?) If somebody makes a reasonably complete pull request, I'm ready to discuss. sgenoud's parser could be a nice starting point. |
From Takeshi Komiya on 2014-09-19 04:26:19+00:00 While ago, I tried to combine Sphinx and remarkdown parser. I succeeded parsing markdown with Sphinx. I hope this monkey patch will help for discussion :-) |
+1 |
This is the only reason I am not using sphinx. |
we use Sphinx, but often i have to convert documents from |
Enabling some md-files within Sphinx documentation would be great. My support for this feature ! |
+1. Since #1747 is now merged, at least a limited capability seems within easy reach. Are there any examples yet or ways some of us can help? |
Is this still being worked on? I'm also in the boat that learning another input language hinders my documentation efforts. Especially with all the nice cookiecutter projects that automatically setup things for a new project, plus integration into readthedocs.org, it would be so cool if I could just start to write docs in Markdown. |
In Python-Markdown, we investigated if we could use the Docutils element tree, but it looks like it's not suitable for us. See the discussion in Python-Markdown/markdown#420. Here is an attempt by someone else to create a Markdown parser for Docutils. |
Please try:
conf.py
It's still limited, but usable. |
I think, in all honesty, Python-Markdown didn't do its due diligence and rejected Docutils too easily. The mere existence of other Markdown parsers for Docutils should have shown it is indeed a fit. |
I'd be willing to contribute to a bounty on Bountysource to get native markdown support in Sphinx. |
+1 as well. |
+1 |
1 similar comment
+1 |
+1 I'm with @camlorn it's really difficult to figure out why there's an error when it turns out there's one extra space or something. |
Please please please, |
Actually, sphinx can build Markdown document by using:
conf.py
It's still limited, but usable. Now I lock this issue. If there are any problem, please file another ticket. Thanks. |
Well, what is missing is more documentation and "publicizing" of this :) |
This is not a bug notification, this is a feature suggestion.
Markdown being more natural (make use of instinctive common practices in mail, forum, blog, and so on), more readable (make use of widespread typographic conventions), being far more popular, being far more widely supported in many ways, and being as much capable as ReST to write documentation, a Markdown capable Sphinx would be great and would help a lot (would also help to enforce a standard).
The text was updated successfully, but these errors were encountered: