Comments (7)
Cheers, yeh one of those things where an "implementation detail" becomes part of the spec lol;
I must have removed the lstrip
when checking if a line is part of the option block, but didn't account for this possibility of having indented options.
from myst-parser.
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! 🎉
from myst-parser.
Heya, ah I think I know why this is, if you have the options without the indentation, it should work, e.g.
```{image} /_static/blog_images/neuroblueprint/NeuroBlueprint_project_tree_light.png
:align: center
:class: only-light
:width: 650px
```
let me know?
But yeh I can fix this regression (and add a test to catch it 😅) hopefully in the next day or two
from myst-parser.
Thanks for the quick response @chrisjsewell, that fixed it!! 😄 Cheers
from myst-parser.
I use backticks in the real version but use ::: here for formatting reasons
FYI you know you can just surround with more backticks, e.g.
``````outer
````inner
```more-inner
content
```
````
``````
from myst-parser.
But yeh I can fix this regression (and add a test to catch it 😅) hopefully in the next day or two
Thank you! We're seeing the same issue, with lots of warnings for all the indented options ...
from myst-parser.
I use backticks in the real version but use ::: here for formatting reasons
FYI you know you can just surround with more backticks, e.g.
``````outer ````inner ```more-inner content
Awesome, thanks!!
from myst-parser.
Related Issues (20)
- Issue on page /syntax/admonitions.html - In example, class should be space separated not comma HOT 3
- Include directive does not consider parser option HOT 2
- replacement of "." in headings for slugs HOT 1
- Test regressions with Sphinx 7.3.7 HOT 2
- Missing newline from doc HOT 5
- For v3.0.1: If the last directive option has an empty value then it is omitted HOT 5
- Add `:tag:` Option for Custom Equation Numbering in `{math}` Directives HOT 1
- Add warning for invalid footnotes reference (and unused definitions) HOT 3
- Add example config.yml entries for autodoc-2 HOT 1
- More Complete Info about Auto Documentation HOT 1
- Substitution in Block doesn't seem to work in Live Preview HOT 2
- Re-add support for \[, \], \(, and \) HOT 1
- Project-wide resolution not working for directive labels?
- Issue on page /syntax/tables.html HOT 1
- Access Markdown frontmatter with env.metadata HOT 4
- Support Sphinx v8 HOT 2
- Better merging of eval-rst parsing result
- mermaid is not rendering in Markdown HOT 5
- custom CSS classes are rendered to lower-case in tables HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from myst-parser.