Skip to content

Broken syntax highlighting in code blocks after re-import  #30

Description

@rootex-

It is currently impossible to re-import a project without loosing syntax highlighting. That's truly disappointing. Fix this, please.

This is what happens after re-import:

Should be
```scala
sealed trait Tree[+A]
```
instead of plain:
```
sealed trait Tree[+A]
```

Activity

  1. changed the title [-]Fix syntax highlighting in code blocks after re-import [/-] [+]Broken syntax highlighting in code blocks after re-import [/+] on Mar 19, 2018
  2. Jocs commented on Mar 19, 2018

    @Jocs
    Member

    Thank you for reporting this bug, I'll fix it in the next release version.

  3. rootex- commented on Mar 19, 2018

    @rootex-
    Author

    Now, that was a quick response, thank you 👍

  4. SuperSandro2000 commented on Mar 19, 2018

    @SuperSandro2000
    Contributor

    I think that is related to this: when you don't have spaces in a table they will be added even if I don't save the file.
    Before:

    • Foo
    • Bar

    After:

    • Foo

    • Bar

    This matters because GitHub puts a little more space between the lines if they have a free line between them.

  5. Jocs commented on Mar 19, 2018

    @Jocs
    Member

    @SuperSandro2000 This is another bug

    Now Mark Text only support loose list, all not loose list will be convert to loose list

    GitHub Flavored Markdown # list

    You can open another issue to report this bug, Bus it's will cost a long time to fix it.

  6. rootex- commented on Mar 23, 2018

    @rootex-
    Author

    Awesome job ☕

  7. added a commit that references this issue on May 13, 2026
    85607dd
  8. added a commit that references this issue on Jun 21, 2026
    5729066
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

    🐜 in progressThis issue is in progress🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions