sanyuan0704 / island.js

📝 Vite & MDX powered static site generator. Base on islands architecture

Home Page:https://islandjs.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: support line numbers in frontmatter

sanyuan0704 opened this issue · comments

Is your feature request related to a problem? Please describe.

Now the lineNumbers config only exists in markdown.lineNumbers, but it will be better if the frontmatter can expose the lineNumber config to give user fine-grained control. For example:

---
lineNumdbers: true
---

Describe the solution you'd like

See above.

Describe alternatives you've considered

No response

Additional context

No response

Validations

  • Read the docs.
  • Read the Contributing Guidelines.
  • Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.