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

Feature: add support for frontmatter in routes that use markdown files #198

Closed
2 tasks
brandonroberts opened this issue Jan 6, 2023 · 0 comments · Fixed by #205
Closed
2 tasks

Feature: add support for frontmatter in routes that use markdown files #198

brandonroberts opened this issue Jan 6, 2023 · 0 comments · Fixed by #205
Labels
enhancement New feature or request

Comments

@brandonroberts
Copy link
Member

Which scope/s are relevant/related to the feature request?

router

Information

You can use markdown files as routes, but if you add frontmatter to the markdown files, it's displayed as content. Adding support for frontmatter would also make it easier to generate a list of content files and their metadata for building a list of posts

Describe any alternatives/workarounds you're currently using

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No
@brandonroberts brandonroberts added the enhancement New feature or request label Jan 6, 2023
goetzrobin added a commit to goetzrobin/analog that referenced this issue Jan 11, 2023
…files

Add support for front-matter in routes that
use markdown files by first passing the content
passed to the MarkdownContentRenderer through
front-matter to extract any possible attributes.

Closes analogjs#198
goetzrobin added a commit to goetzrobin/analog that referenced this issue Jan 11, 2023
…files

Add support for front-matter in routes that
use markdown files by first passing the content
passed to the MarkdownContentRenderer through
front-matter to extract any possible attributes.

Closes analogjs#198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant