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

Julia and Python multiline strings in code block doe not highlight correctly #1719

Closed
1 task
oxinabox opened this issue Nov 17, 2019 · 3 comments
Closed
1 task
Labels
❓ confirmation needed This issue needs confirmation

Comments

@oxinabox
Copy link

Description

Inside fenced codeblocks for the python or julia language,
syntax highlighting does not work on triple quoted strings.

  • Can you reproduce the issue?

Steps to reproduce

  1. Open program
  2. Create a fenced code block, speciifying language as julia or python
  3. enter a triple quoted multiline string

Expected behavior:

Nice syntax highlighting of a string,
e.g as on github:

"""
Python has 
multiline strings
that also do not highlight right
"""

Actual behavior:

(Input text at bottom of post)
image

Versions

  • Mark Text: 0.15.0
  • Operating system: Mac 10.15.1

    """
    Julia has 
    Triple quoted strings 
    that do not highlight right
    """
    ```

    SImilar in python


    ```python
    """
    Python has 
    multiline strings
    that also do not highlight right
    """
    ```
@Jocs Jocs added the 🐛 bug Something isn't working label Nov 18, 2019
@Jocs
Copy link
Member

Jocs commented Nov 18, 2019

@oxinabox Can you help test this issue on version 0.16.0-rc.1, because I remove this is already be fixed.

@Jocs Jocs added ❓ confirmation needed This issue needs confirmation and removed 🐛 bug Something isn't working labels Nov 18, 2019
@oxinabox
Copy link
Author

@oxinabox Can you help test this issue on version 0.16.0-rc.1, because I remove this is already be fixed.

I cannot. If its fixed then by all means close this.

@adrienbeau
Copy link

I just tested it. This is fixed in 0.16.0-rc1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ confirmation needed This issue needs confirmation
Projects
None yet
Development

No branches or pull requests

3 participants