-
Notifications
You must be signed in to change notification settings - Fork 523
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
Use GitHub Actions for site building and format conversion. #25
Comments
make4ht is used for HTML generation (#20), and I would like to stick to LaTeX script at present. |
Sure that we can keep the source files in |
I think build a markdown file then convert it into html sounds promising. |
More packages make more possible dependency issue but we don't have bunch of packages. I've check that currently the format conversion of code block from
It seems that we can do something tricky: |
After creating and running with a custom pandoc filter for It may take me some time for creating the pandoc filter to deal with the |
Consider using |
There is a POC (Proof of Concept) site building with
Now, waiting for #26 resolved so that I could split one page into several chapters. |
There are a bunch of static site generator that creates HTML pages from templates or components and the given content source. Besides, we can also automate, customize, and execute workflows right in the repository with GitHub Actions.
The OI Wiki Project is an example:
build
andbuild-pdf
workflows are triggered whenever there is any push or pull request event.build
workflow runsmkdocs
for creating HTML pages from*.md
files.build-pdf
workflow coverted*.md
files to*.tex
files (by running this JavaScript script) and compiled them tooutput.pdf
.Besides, the site 《大家來學 LaTeX》 is another site created with Hugo and use utteranc as the comment system. It would be a possible solution to use pandoc for coverting
*.tex
to*.md
.The text was updated successfully, but these errors were encountered: