Skip to content

HTML bracket highlighting in other types of documents #510

Open

Description

@FatherOfAlways

I would like for the same bracket highlighting that works in my HTML documents to work in my Markdown and TXT documents. Is possible to configure this in settings?

I'm sorry if this is a silly question but I'm a noob and I apologise if this is an inappropriate venue for such questions but I don't know where else to ask.

Activity

  1. facelessuser commented on Jan 18, 2019

    @facelessuser
    Owner

    It is most likely possible. I strongly suggest not doing it in plain text documents as text could contain anything. As there is no real syntax highlighting in a plain text file, we can't get scope context, which means you might get all sorts of conflicts. But in a Markdown file, it is certainly possible. You'd have override HTML rules and add your Markdown syntax (see documentation) and possible tweak some scope rules.

  2. FatherOfAlways commented on Jan 24, 2019

    @FatherOfAlways
    Author

    Thank you for your answer and your advice and apologies for the late reply.
    I'll avoid plain text as suggested, not really a problem since most of my text files are in .md anyway.
    Forgive my lay knowledge on the subject as I am not a programmer, but from what I've seen of the documentation I should be able to achieve my desired result through the use of "tag_mode" with added criteria, correct?

  3. facelessuser commented on Jan 25, 2019

    @facelessuser
    Owner

    Probably not tag mode. I was thinking just updating the angle rule to include markdown syntax, but I admit, I haven't looked too closely at the implications. Give me a few days, and maybe I can take a closer look and possibly give more details instructions on this.

  4. FatherOfAlways commented on Jan 27, 2019

    @FatherOfAlways
    Author

    I would be very grateful for your help, whenever you get around to it. Otherwise I'll just try a few things and see if I can figure something out. In any case, thank you.

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

    C: pluginsRelated to plugins.P: maybePending approval of low priority request.T: featureFeature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions