BTW: what is the state of https://pypi.org/project/pycmark/ by @ tk0miya? It looks promising as a lightweight alternative for pure CommonMark I finished my work. It has been fully compatible with CommonMark. The remaining task is creating an extension for sphinx using pycmark and pycmark-gfm. I thought to release v1.0 after that, but I lost my interest for it because myst-parser has appeared. 2022年1月6日(木) 23:08 "Günter Milde" via Docutils-develop docutils-develop@lists.sourceforge.net: status: open...
It would be great if we'll be able to install the HEAD of docutils via git command directly. At present, we need to clone the repository before installing it because docutils package is placed under the docutils directory. The separation will resolve that.
The source info of topic node is not filled when topic directive only contains a bullet list
FYI: I applied this patch to Sphinx to support docutils-0.18 (not released yet). https://github.com/sphinx-doc/sphinx/commit/c97c488bb6baad2cd2e76615dbff448286052544 I think this must be a bug of Sphinx, not a docutils. To realize the cross-reference feature, Sphinx processes the target document twice. In the process, we need to fill some configuration to the settings object before building the document. Thanks, Takeshi KOMIYA 2021年10月27日(水) 22:45 engelbert gruber via Docutils-develop docutils-develop@lists.sourceforge.net:...
Thank you for quick fix!
Node ID will be lost when a `--language` option given.
+1 for adding a new option to control the position. I'm also okay to add a directive option instead. Addition to this, I'll add an option for table caption after this discussion.
I don't know about dependencies. But, about the diff, it seems the reason of diff comes python versions. The "print" is a keyword in python2 era. But it becomes a mere function since python3. So it becomes a name now. I guess it might go well if you invoke a testcase with python2. Anyway, checking the output of pygments is too fragile. It often gets broken everytime pygments changes the highlighting rule. It is better to check only that the content is highlighted.