Skip to content

Inline formatting with highlightAll() #453

@zdehasek

Description

@zdehasek

On Version 0.1.20

When I use highlightAll:

import { Controller } from "@hotwired/stimulus"
import { highlightAll } from "lexxy"

export default class extends Controller {
  connect() {
    // Call highlightAll when the controller connects
    highlightAll()
  }
}

It turns all the code into one line — otherwise, it’s fine.

Is this a bug, or am I doing something wrong?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions