Skip to content

[getting_started] syntax issues #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mmcky opened this issue Sep 18, 2020 · 5 comments
Closed

[getting_started] syntax issues #25

mmcky opened this issue Sep 18, 2020 · 5 comments

Comments

@mmcky
Copy link
Contributor

mmcky commented Sep 18, 2020

In getting started lecture the following

``!conda install quantecon``

is getting translated to:

`> !conda install quantecon`

which suggests there is an extra block quote in the AST

@mmcky
Copy link
Contributor Author

mmcky commented Sep 20, 2020

@mmcky
Copy link
Contributor Author

mmcky commented Sep 20, 2020

actually @jstac was the aim for these to be contained in blockquotes?

https://python-programming.quantecon.org/getting_started.html#Installing-Libraries

or would you like them like

https://5f644479d2dd5829b8cb034e--gracious-dubinsky-cc513b.netlify.app/getting_started.html#Installing-Libraries

without the indentation?

May need to reorder the > and the ' in the translator to fix this issue so we end up with

> `!conda install quantecon`

@mmcky
Copy link
Contributor Author

mmcky commented Sep 21, 2020

fixed by executablebooks/sphinx-tomyst#61

@mmcky mmcky closed this as completed Sep 21, 2020
@mmcky mmcky reopened this Sep 21, 2020
@mmcky
Copy link
Contributor Author

mmcky commented Sep 21, 2020

This is now translated to

> `!conda install quantecon`

but this has an issue in markdown-it-py

@mmcky
Copy link
Contributor Author

mmcky commented Sep 21, 2020

This issue can be resolved for quantecon by removing the block-quote context from the source rst files.

QuantEcon/lecture-python-programming#69

@mmcky mmcky closed this as completed Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant