rstfmt
rstfmt copied to clipboard
A formatter for reStructuredText
Trying to format ``` ==== ===== Head Foot ==== ===== 1 1234 12 12 34 123 123 4 1234 123 ==== ===== ``` results in ``` +----+-----+ | Head |...
Add support for the ifconfig directive as part of the ifconfig sphinx extension.
This package has helped a lot to format my rst files, but it seems to be having an issue with this: ``` docutils.utils.SystemMessage: :347: (ERROR/3) Unknown directive type "bibliography". .....
Fixes #14, #15 This is my first contribution to anything RST, so it might not be the best approach 😅 Test file: ``` ###################### Prior research ###################### According to :cite:t:`nutt2009`...
Doctest blocks are treated as a special case of literal blocks, without requiring the literal block syntax. Indentation is not required for doctest blocks. https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#doctest-blocks
Hey @dzhu , I wanna say thank you, for your project. Without this I wouldn’t be able to do a couple of things, I created a repository based about on...
Using the following code syntax : ```rst Boot switches position for :guilabel:`USB Mass Storage` boot source` ``` And running `rstfmt` on my `source` folder using `rstfmt source`, I'm having the...
When using this code : ```rst .. code-block:: console :caption: Cloning the |comintboardimg| repository :name: clone-com-int $ git clone https://gitlab.com/xxxx/xxxx.git $ cd comboard-linux-image ``` And running `rstfmt` on my `source`...
Using the following code syntax : ```rst This scripts requires two arguments : -d The disk where to create the image (e.g: ``sda``) -i The image name (e.g: ``iecharge-image-comboard.wic``) ```...
:wave: Great tool! Something I feel like that is missing is the ability for me to see the changes the tool would make (without actually editing the file in place).