micro-editor / micro-editor/micro

No highlighting for embedded js/css

Open
#3,776 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug syntax
Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Since micro 2.0.12 embedded js/css highlighting inside <script>/<style> blocks in html files seem broken. This is a screenshot of 2.0.11 and 2.0.12, both with default config. I also checked with 13 and 14, it's all the same.
Is this a defect or anything has changed in the default config I need to switch?

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in micro 2.0.12 using an HTML file with <script> and <style> blocks, then compare the highlighting with 2.0.11 and the tested 2.0.13/2.0.14 versions. Done means identifying whether the default configuration changed and restoring or documenting embedded JavaScript and CSS highlighting.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html, javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.