Skip to content
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

[ENH] Check literal blocks #19

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

FHaase
Copy link
Contributor

@FHaase FHaase commented Jan 14, 2019

  1. Splits blocks in *.rst files on occurence of .. highlight:: <language>.
  2. If selected highlight-language is for python, search for literal blocks

Default language set by sphinx's highlight-language option can be set, as well as the languages that should be analysed.

@FHaase FHaase changed the title Add simple code blocks [ENH] Check literal blocks Jan 14, 2019
@FHaase
Copy link
Contributor Author

FHaase commented Jan 14, 2019

@kataev Do you mind having a deeper look into weather this actually works correct and I didn't miss any corner cases?

@kataev
Copy link
Collaborator

kataev commented Jan 17, 2019

@FHaase we can run it again sqlalchemy repo :) and check output. I will try it a little later.

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

Successfully merging this pull request may close these issues.

Allow use literal blocks (::)
3 participants