Skip to content

Support of uncolored text #141

Description

@2mik

If I create a flask object with an empty language
const flask = new CodeFlask('#my-selector', { language: '' });
and then set the language
flask.updateLanguage('js');
it works incorrectly, because the HTML element has 2 classes language-html and language-js.
It's would be useful to support an empty language to disable coloring.
Thank you.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions