home.social

#restructuredtext — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #restructuredtext, aggregated by home.social.

fetched live
  1. I like the prose linter Vale, because it helps me stay closer in compliance with our documentation style guide.

    A bug with handling restructuredtext disturbed my work since yesterday.

    On systems using pyenv and having imagemagick installed, each Vale run of rst2html triggers the screenshot tool from imagemagick, because Bash instead of Python interprets `import sys`. It blocks my keyboard input until I click once.

    See
    github.com/vale-cli/vale/issue

    #technicalwriting #vale #restructuredtext

  2. Out now: linkotron 0.7!

    CLI to format links in a shorter format.

    🖇️ Format regular links
    🔗 Format GHSA links -- thanks @stanfromireland!
    🖇️ Add support for Python 3.15-3.16
    🔗 Stop testing experimental 3.13t

    Maybe one day I'll remember how to write reStructuredText links but now I don't need to:

    ❯ linkotron example.com --rst
    Copied! `example.com <example.com>`__

    github.com/hugovk/linkotron/re

    #Python #release #linkotron #CLI #reStructuredText

  3. Out now: linkotron 0.7!

    CLI to format links in a shorter format.

    🖇️ Format regular links
    🔗 Format GHSA links -- thanks @stanfromireland!
    🖇️ Add support for Python 3.15-3.16
    🔗 Stop testing experimental 3.13t

    Maybe one day I'll remember how to write reStructuredText links but now I don't need to:

    ❯ linkotron example.com --rst
    Copied! `example.com <example.com>`__

    github.com/hugovk/linkotron/re

    #Python #release #linkotron #CLI #reStructuredText

  4. I think I've more or less decided that I want a #reStructuredText to SXML parser in R6RS #Scheme.

    I'm going to try to spend 30 minutes a day working on one, and see how I get on.

    rST has been a text-based markup of choice for many years (alongside org-mode), and I was always disappointed by the ascendancy of the inferior #Markdown. It deserves an independent reimplementation.

  5. I think I've more or less decided that I want a #reStructuredText to SXML parser in R6RS #Scheme.

    I'm going to try to spend 30 minutes a day working on one, and see how I get on.

    rST has been a text-based markup of choice for many years (alongside org-mode), and I was always disappointed by the ascendancy of the inferior #Markdown. It deserves an independent reimplementation.

  6. I finally got around to rebuilding my website using #Python #Django and #reStructuredText . It is now allows me to easily write about projects and write blog posts.

    One of my biggest and most useful (to me) hobby projects is my language learning tool #xiaolongdictionary . The last couple of days I have written about the tool and its features extensively [1].

    I think I will still improve the writing and extend it in the future.

    [1]: web.xiaolong-hosting.com/proje

    #coding #programming #blog

  7. I finally got around to rebuilding my website using #Python #Django and #reStructuredText . It is now allows me to easily write about projects and write blog posts.

    One of my biggest and most useful (to me) hobby projects is my language learning tool #xiaolongdictionary . The last couple of days I have written about the tool and its features extensively [1].

    I think I will still improve the writing and extend it in the future.

    [1]: web.xiaolong-hosting.com/proje

    #coding #programming #blog

  8. #Papirus 's icon for #ReText is annoying me right now. I'll just do something about that.

    By the way, is there an accepted logo for #reStructuredText anywhere, other than the LaTeX-like wordmark on Wikipedia?

    #Python #YearOfTheLinuxDesktop

  9. #Papirus 's icon for #ReText is annoying me right now. I'll just do something about that.

    By the way, is there an accepted logo for #reStructuredText anywhere, other than the LaTeX-like wordmark on Wikipedia?

    #Python #YearOfTheLinuxDesktop

  10. In the age of AI generated #markdown humans should start using #reStructuredText documents 🤔

  11. In the age of AI generated #markdown humans should start using #reStructuredText documents 🤔

  12. @bithive @timpritlove Me too, because it has a specification from the beginning and not a post specification effort as common mark.

    However, Markdown is easy to learn and suits use cases that are enough for many users.

    #markdown #restructuredtext

  13. @bithive @timpritlove Me too, because it has a specification from the beginning and not a post specification effort as common mark.

    However, Markdown is easy to learn and suits use cases that are enough for many users.

    #markdown #restructuredtext

  14. #Markdown Is a Disaster: Why and What to Do Instead
    karl-voit.at/2025/08/17/Markdo

    Here's my article where I summarize the subtle and no so subtle downsides when you choose Markdown for your information instead of a different markup syntax that doesn't come with all the downsides of #MD.

    #publicvoit #orgdown #orgmode #LML #pandoc #rst #restructuredtext #asciidoc #Wikitext #BBCode #Creole #Crossmark #Djot #CommonMark #lockin

  15. #Markdown Is a Disaster: Why and What to Do Instead
    karl-voit.at/2025/08/17/Markdo

    Here's my article where I summarize the subtle and no so subtle downsides when you choose Markdown for your information instead of a different markup syntax that doesn't come with all the downsides of #MD.

    #publicvoit #orgdown #orgmode #LML #pandoc #rst #restructuredtext #asciidoc #Wikitext #BBCode #Creole #Crossmark #Djot #CommonMark #lockin

  16. I'm trying to add a vertical timeline to my sphinx project. There is an extension that does this? The `sphinx-timeline` is only horizontal.

    Ideally I could add internal links in the description or bubble too.

    #sphinx #restructuredtext #help

  17. I'm trying to add a vertical timeline to my sphinx project. There is an extension that does this? The `sphinx-timeline` is only horizontal.

    Ideally I could add internal links in the description or bubble too.

    #sphinx #restructuredtext #help

  18. 🚀️ rst2gemtext v0.5.0 released!

    I just released a new version of my lib to convert reStructuredText to Gemtext (the Gemini markup language).

    ➡️ github.com/flozz/rst2gemtext/r

    This version fixes an ImportError with newer versions of docutils and improved the outputed gemtext.

    #python #reStructuredText #gemini #OpenSource

  19. 🚀️ rst2gemtext v0.5.0 released!

    I just released a new version of my lib to convert reStructuredText to Gemtext (the Gemini markup language).

    ➡️ github.com/flozz/rst2gemtext/r

    This version fixes an ImportError with newer versions of docutils and improved the outputed gemtext.

    #python #reStructuredText #gemini #OpenSource

  20. Twisted's coding standard for our #ReStructuredText files is to use what we have termed "semantic newlines". That is to say: every sentence is on its own line. In principle, I like this. It means smaller, more readable diffs, and less pointless churn. In practice, with my #Emacs fill-paragraph muscle memory, it is a *constant* frustrating exercise where I'm tripping over myself and either constantly re-wrapping and then manually un-wrapping, or forgetting to wrap at all.

  21. Twisted's coding standard for our #ReStructuredText files is to use what we have termed "semantic newlines". That is to say: every sentence is on its own line. In principle, I like this. It means smaller, more readable diffs, and less pointless churn. In practice, with my #Emacs fill-paragraph muscle memory, it is a *constant* frustrating exercise where I'm tripping over myself and either constantly re-wrapping and then manually un-wrapping, or forgetting to wrap at all.

  22. Hawkmoth v0.20 is out!

    Hawkmoth is a Sphinx extension to import C and C++ documentation comments into Sphinx based documentation.

    The main new feature in this release is automatic configuration of the system header search paths. Unfortunately, libclang does not get them right out of the box on most distros, so we have to help it a little.

    github.com/jnikula/hawkmoth

  23. AI в работе технического писателя

    Всем привет! Меня зовут Севара Ахтямова и я работаю техническим писателем – аналитиком около 4 лет. В этой статье я расскажу, как AI помог мне справиться с рабочей рутиной — от генерации toctree до отладки сборки Sphinx-документации. Всё это — на реальных задачах. Я постаралась собрать побольше примеров из личного опыта. Надеюсь, не слишком много.

    habr.com/ru/articles/896998/

    #ai #искусственный_интеллект #sphinx #документация #автоматизация #технический_писатель #рабочие_процессы #restructuredtext #chatgpt #sphinx_docs

  24. When writing plain-text files with collaborators, such as…

    - #LaTeX, for instance on #Overleaf
    - #reStructuredText, for instance for use with Sphinx/for @readthedocs
    - #Markdown for many purposes.

    …a practice I find very helpful is to:

    1. Start every sentence on a new line, and
    2. Not hard-wrap within sentences.

    This makes it MUCH easier to read ordinary diffs and interpret the addition/removal/reordering of sentences, words, paragraphs, etc.

  25. When writing plain-text files with collaborators, such as…

    - #LaTeX, for instance on #Overleaf
    - #reStructuredText, for instance for use with Sphinx/for @readthedocs
    - #Markdown for many purposes.

    …a practice I find very helpful is to:

    1. Start every sentence on a new line, and
    2. Not hard-wrap within sentences.

    This makes it MUCH easier to read ordinary diffs and interpret the addition/removal/reordering of sentences, words, paragraphs, etc.

  26. RestructuredText is more powerful, and full featured than Markdown. Everyone should be using RestructuredText instead of Markdown for their documents and Static Site Generators.

    #RestructuredText #Markdown #SSG #WebDev #DevLife

  27. RestructuredText is more powerful, and full featured than Markdown. Everyone should be using RestructuredText instead of Markdown for their documents and Static Site Generators.

    #RestructuredText #Markdown #SSG #WebDev #DevLife

  28. 🚀️ rst2gemtext v0.4.0 released!

    rst2gemtext is a CLI tool and a #Python library to convert #reStructuredText to #Gemtext (the markup language used by #Gemini network).

    ➡️ github.com/flozz/rst2gemtext/r

    This release contains mostly fixes on lists of link and tables. Supported Python versions have also been updated. 😃️

  29. 🚀️ rst2gemtext v0.4.0 released!

    rst2gemtext is a CLI tool and a #Python library to convert #reStructuredText to #Gemtext (the markup language used by #Gemini network).

    ➡️ github.com/flozz/rst2gemtext/r

    This release contains mostly fixes on lists of link and tables. Supported Python versions have also been updated. 😃️

  30. @ax6761 @perl I sympathize. Would that mean you would author #Perl POD but then convert to #reStructuredText for #Python? Because #Pandoc can already do that as of this week:

    ```
    pandoc --from=pod --to=rst
    ```

  31. @ax6761 @perl I sympathize. Would that mean you would author #Perl POD but then convert to #reStructuredText for #Python? Because #Pandoc can already do that as of this week:

    ```
    pandoc --from=pod --to=rst
    ```

  32. 🆕 3.6 has been released:
    • Support for as input format
    • Improved parsing of
    0.12 support
    • Safe handling of `--embed-resources` when combined with `--sandbox`

    The default templates for LaTeX, ConTeXt, and Typst have been updated.

    github.com/jgm/pandoc/releases

  33. 🆕 #pandoc 3.6 has been released:
    • Support for #mdoc as input format
    • Improved parsing of #reStructuredText
    #Typst 0.12 support
    • Safe handling of `--embed-resources` when combined with `--sandbox`

    The default templates for LaTeX, ConTeXt, and Typst have been updated.

    github.com/jgm/pandoc/releases

  34. Thinking about transitioning my #blogging from #nikola to #mkdocs

    Nikola is great but I've always felt like writing in Markdown is an also ran use case, as its native lingua franca is my long time nemesis #restructuredtext (Hate hate HATE! :) ).

    mkdocs is built from the ground up to be super simple. Give it a pile of Markdown and it'll generate a site. There's a nice plugin for generating a blog:

    github.com/squidfunk/mkdocs-ma

  35. Thinking about transitioning my #blogging from #nikola to #mkdocs

    Nikola is great but I've always felt like writing in Markdown is an also ran use case, as its native lingua franca is my long time nemesis #restructuredtext (Hate hate HATE! :) ).

    mkdocs is built from the ground up to be super simple. Give it a pile of Markdown and it'll generate a site. There's a nice plugin for generating a blog:

    github.com/squidfunk/mkdocs-ma

  36. Novedades de @pandoc .
    Pandoc es una utilidad para la conversión de formatos de archivo, en esencia, de texto plano, que utiliza una estructura de representación intermedia para poder "compilar" a otros formatos.
    Ejemplo, puedes convertir de #ReStructuredText a #MarkDown o #LaTeX.
    En su novedad, está el cambio de la dependencia para generar PDF por Weasyprint.
    #pandoc

    @paulox fosstodon.org/@paulox/11314052

  37. Novedades de @pandoc .
    Pandoc es una utilidad para la conversión de formatos de archivo, en esencia, de texto plano, que utiliza una estructura de representación intermedia para poder "compilar" a otros formatos.
    Ejemplo, puedes convertir de #ReStructuredText a #MarkDown o #LaTeX.
    En su novedad, está el cambio de la dependencia para generar PDF por Weasyprint.
    #pandoc

    @paulox fosstodon.org/@paulox/11314052

  38. @bbatsov Exactly, if you made research on #Python programmers, you would get quite different results (we all use #reStructuredText ).

  39. @pludikovsky When people are in favor of #Markdown, they either do mean the concept of lightweight #markup languages (#LML) in general (yeah!) or they do not really know many other LMLs in comparison.

    Furthermore, people voting for MD often do ignore the obvious downsides of that ecosystem because they have already overcome some of them, ignoring the majority of people who still need to learn that LML in future. 😔

    #orgdown #orgmode #rst #reStructuredText #AsciiDoc

  40. Are you surprised by those results? It seems that #AsciiDoc and #reStructuredText are (way) less popular than I thought, and that #orgmode is way more popular than I expected.

    Of course, we should take those results with a grain of salt, as I assume many of my followers are #Emacs users. 😀

  41. This large scale conversion from #LaTeX to #reStructuredText was achieved thanks to #PanDoc, plus a sprinkling of ah hoc fixers using sed and Python. github.com/jgm/pandoc