Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to djot #10

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Switch to djot #10

wants to merge 9 commits into from

Conversation

bmschmidt
Copy link
Owner

@bmschmidt bmschmidt commented Jan 2, 2024

Total revamp--this will be fun! The idea is that the [https://djot.net/] AST is cleaner and more powerful than the pandoc one, and we can convert cleanly between them, so let's

  1. build the components on top of djot
  2. Let people write quote-unquote markdown that's actually djot so that we can do things like SSR or in-browser rendering of scrolly-telling, which is incredibly powerful (e.g. there is no need for ESRI map stories)
  3. If I'm ever able to get pandoc fully compiled to wasm with the ghc wasm backend, we can do ssr and anything on any pandoc supported format
  4. until then we can use a loader that uses pandoc when it's defined as a system executable to write blog posts in ms word or whatever.

Still working out some details on intersection observer, but this:

  • Satisfies full typescript compliance
  • Moves to using djot's AST instead of pandoc-markdown
  • Will allow real-time rendering of fancy jgm-style markdown in browser, which has been my goal for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant