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

Action: Add gfm export #161

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Action: Add gfm export #161

wants to merge 5 commits into from

Conversation

cagix
Copy link
Owner

@cagix cagix commented Aug 31, 2023

Add an additional build target to make the content available as GitHub markdown (gfm).

TODO:

  • Extend the MakeDeps filter: declare images and files as dependencies for a Makefile target (incl. new Makefile variables)
  • Extend the Makefile: new target using the new variables
  • Provide a template for Pandoc GFM and resolve all metadata like quizzes, video, challenges, tldr.... into content before/after the actual content (definition of the structure of the content pages analogous to Hugo archetypes)
  • Removal of TeX commands and other shenanigans
  • Translate fenced divs like showme or tabs into suitable GFM structures, remove non-translatable divs (like Filter: Add tabs/tab div (conversion to Hugo shortcode) #167 for Hugo, but this time for GFM)
  • Check whether the scaling of figures (inline, figures) works automatically (pandoc -t gfm)
  • Enable the build in the GH action

fixes #160

@cagix cagix self-assigned this Aug 31, 2023
@cagix cagix force-pushed the add_gfm_export branch 2 times, most recently from e223328 to 938ba90 Compare September 6, 2023 08:00
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.

[Action] Export as GitHub-Markdown (gfm)
1 participant