Skip to content

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.

Signed-off-by: Fabian Haase <haase.fabian+git@gmail.com>
Signed-off-by: Fabian Haase <haase.fabian+git@gmail.com>
Signed-off-by: Fabian Haase <haase.fabian+git@gmail.com>
Signed-off-by: Fabian Haase <haase.fabian+git@gmail.com>
Signed-off-by: Fabian Haase <haase.fabian+git@gmail.com>
@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