Convert Markdown processor to use inbuilt parser/generator instead of pandoc #1

Open
opened 2025-08-04 21:44:31 +00:00 by Pagwin · 0 comments
Owner

Currently markdown -> HTML conversion in psb is handled via Pandoc which is fine except it makes it harder to customize the output and increases cold compile time significantly which is annoying

TODO:

  • Have an EBNF or ABNF grammer for markdown to make implementing the parser easier
  • Create an intermediate format which the parser converts into
  • Write a parser which converts into the intermediate format
  • Write a generator which converts the intermediate format into HTML
Currently markdown -> HTML conversion in psb is handled via Pandoc which is fine except it makes it harder to customize the output and increases cold compile time significantly which is annoying TODO: - [x] Have an EBNF or ABNF grammer for markdown to make implementing the parser easier - [ ] Create an intermediate format which the parser converts into - [ ] Write a parser which converts into the intermediate format - [ ] Write a generator which converts the intermediate format into HTML
Pagwin added a new dependency 2025-08-04 22:57:18 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: Pagwin/psb#1
No description provided.