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

Markdown issue: python syntax highlighting #4114

Open
mhooreman opened this issue Oct 18, 2018 · 0 comments
Open

Markdown issue: python syntax highlighting #4114

mhooreman opened this issue Oct 18, 2018 · 0 comments

Comments

@mhooreman
Copy link

mhooreman commented Oct 18, 2018

Hello,

When I push the following in markdown, the syntax highlighting has an issue: string coloration is not correctly closed, so that there is a balancing between correct and incorrect lines.

When I export as HTML, the problem is not present.

```python
(
    (
        r'^(DP.*-)[\dX]*(.*)$',
        r'\1\2',
    ), (
        r'-$',
        '',
    )
)
```

Lines 3 to line 6 exluding the final comma are highlighted in red continuously, like a single string.

  • notebook 5.7.0
  • python 3.6.6
  • happens both with chrome on windows and firefox on linux
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

No branches or pull requests

1 participant