Skip to content

Backslash escape for underscores in Markdown docstrings #911

@brettcannon

Description

@brettcannon

Environment data

  • VS Code version:
  • Python Extension version: 2018.2.0-beta
  • Python Version:
  • OS and version:

Actual behavior

untitled

Expected behavior

For EXPECTED_DIR to not escape the _.

Steps to reproduce:

def fixtures_dir(request):
    """Return the test fixtures directory under `FIXTURES_DIR`.

    Example::

        from conftest import BASE_DIR

        def test_something(fixtures_dir):
            assert fixtures_dir.strpath == BASE_DIR + '/some/path'

    :rtype: py.path.LocalPath
    """

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions