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

[feat] Publish source markdown #81

Open
rochacbruno opened this issue Oct 25, 2024 · 0 comments
Open

[feat] Publish source markdown #81

rochacbruno opened this issue Oct 25, 2024 · 0 comments
Labels

Comments

@rochacbruno
Copy link
Owner

when

marmite.yaml

extra:
  publish_md: true

Then for every render_html the original .md must also be published to the output dir,
and in the post page content.html there must be a link to the same slug but with .md extension
served directly.

If extra contains

extra:
  publish_md: true
  source_repository: https://github.com/rochacbruno/blog/content/

Then the link on content.html must point to the repo, so it is easy to get contributions and corrections on the text.

@rochacbruno rochacbruno changed the title [feat] Copy .md to the output_dir [feat] Publish source markdown Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant