docsify icon indicating copy to clipboard operation
docsify copied to clipboard

chore: render code style clean and update

Open Koooooo-7 opened this issue 1 year ago • 2 comments

Summary

Clean and make the compiler.js slimmer to main core compile logic, remove unnecessary code.

Changes:

  • Move heading compiler to separate file like other renderer customizers.
  • Move compileMedia as individual file also.
  • Move the _renderTo to dom utils method.
  • Remove the unused headline.js file.

Related issue, if any:

What kind of change does this PR introduce?

Code style update

For any code change,

  • [x] Related documentation has been updated, if needed
  • [x] Related tests have been added or updated, if needed

Does this PR introduce a breaking change?

Yes

No

Tested in the following browsers:

  • [x] Chrome
  • [ ] Firefox
  • [ ] Safari
  • [ ] Edge

Koooooo-7 avatar Jul 30 '24 11:07 Koooooo-7

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docsify-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 10, 2024 7:33am

vercel[bot] avatar Jul 30 '24 11:07 vercel[bot]

--- Hi @trusktr Joe, thx for the review, already updated, PTAL.

Koooooo-7 avatar Aug 14 '24 15:08 Koooooo-7