lukejacksonn / lukejacksonn/monacode

html formatting

Open
#2 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
170
Forks
11
PR merge metrics
No merged PRs in 30d

Description

great project!
Thank you for open sourcing it.

I noticed that html formatting has some issues

[example on monacode.live](https://monacode.live/?language=html&value=%3Chtml%3E%3Cbody%3E%3Ch1%3EHello%20World%3C/h1%3E%3C/body%3E%3C/html%3E)

on `⌘ + s`, the html is formatted correctly but a semi-colon is added to the end

[another example with spaces](https://monacode.live/?language=html&value=%3Chtml%3E%20%3Cbody%3E%20%3Ch1%3EHello%20World%3C/h1%3E%20%3C/body%3E%20%3C/html%3E)

you get `{" "}`

I think this is related to babel parser

any guidance?

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 with the two linked monacode.live HTML examples and reproduce formatting with ⌘ + s. Trace the HTML formatting path and its Babel parser involvement; done means valid HTML formats without an added semicolon or the `{" "}` output shown in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript
Domain
tooling, web-dev
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.