Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Markdown capable Sphinx #825
Comments
shimizukawa
added
enhancement
prio:high
labels
Jan 3, 2015
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 :-) |
csillag
commented
Feb 25, 2015
+1 |
TomasTomecek
commented
Feb 25, 2015
This is the only reason I am not using sphinx. |
saily
commented
Feb 25, 2015
we use Sphinx, but often i have to convert documents from |
Feb 28, 2015
This was referenced
miroi
commented
Apr 5, 2015
Enabling some md-files within Sphinx documentation would be great. My support for this feature ! |
cekees
commented
Apr 22, 2015
+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? |
sammyshj
referenced this issue
in privly/privly-safari
Jun 27, 2015
Merged
Added README to the docs #26
michaelaye
commented
Jul 14, 2015
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 waylan/Python-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. |
AJ-Acevedo
commented
Jul 26, 2015
I'd be willing to contribute to a bounty on Bountysource to get native markdown support in Sphinx. |
conorsch
referenced this issue
in freedomofpress/securedrop
Aug 19, 2015
Closed
Split the SecureDrop installation guide into separate documents #504
camlorn
commented
Dec 3, 2015
+1 as well. |
thedmi
commented
Jan 15, 2016
+1 |
bojanv91
commented
Jan 23, 2016
+1 |
nelsonam
commented
Feb 2, 2016
+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. |
lsbardel
commented
Feb 4, 2016
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. |
shimizukawa
locked
and limited conversation to collaborators
Feb 5, 2016
Well, what is missing is more documentation and "publicizing" of this :) |
shimizukawa commentedJan 3, 2015
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).