Skip to content

Poor rendering of verbatim text and inline code blocks in reStructuredText. #215

Closed

Description

@vitaut

Both verbatim text and inline blocks in reStructuredText appear to be much larger than surrounding text.

An example from https://github.com/vitaut/format#examples written in reStructuredText:
screenshot from 2013-09-03 13 44 58

Compare with this example from https://github.com/andris9/node-markdown#installation written in Markdown:

screenshot from 2013-09-03 13 44 31

As you can see the verbatim/code block is much larger in reStructuredText (font-size is 15) than in Markdown (font-size is 12). The reason is that in reStructuredText the verbatim text and inline code blocks are translated into the tt elements while the proper style only applies to the code elements.

Activity

  1. gjtorikian commented on Sep 17, 2013

    @gjtorikian
    Contributor

    This should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions