-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the problem
Sphinx uses docinfo blocks to include information like author name or date. When these are converted from reST to MyST they become front-matter, but these isn't interpreted the same way by the MyST compiler.
For example, this document:
=======
Title
=======
:author: Me
:date: TodayBecomes this when converted:
---
author: Me
date: Today
---
# TitleBut the first one renders as this (with Sphinx):
while the second one renders as that:
This could be a bug in the MyST compiler, too.
Link to your repository or website
No response
Steps to reproduce
sphinx-quickstart, then add the contents above to a new file.
The version of Python you're using
3.8
Your operating system
GNU/Linux (Mint)
Versions of your packages
$ rst2myst --version
rst2myst, version 0.3.2
$ python3 --version
Python 3.8.10
$ sphinx-build --version
sphinx-build 3.5.4
$ pip show myst_parser | grep Version
Version: 0.15.1
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

