-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle markup in term tooltips (#309)
By extending Sphinx's TextWriter and dependencies, we can handle the docutils nodes as we wish. Now, the tables are displayed as clipped text with only they label as a caption, xref and term references are surrounded by square brackets, to see in advance if the definition contains references to other terms. Some behaviour has been directly inherited from Sphinx's TextWriter, mainly the indentation for some blocks (e.g. the admonitions), the lists should now be displayed properly and the inline code literals are surrounded by straight double quotes. Also added indentation for literal blocks.
- Loading branch information
Showing
2 changed files
with
50 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters