-
Notifications
You must be signed in to change notification settings - Fork 45
Use markdown sources #8
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
Comments
One step back: let's discuss the idea here. :) |
Here is the current situation. I've written a markdown version (which was PR #35). Everything in and below the Unfortunately, it's not possible to write idiomatic* markdown that generates exactly the HTML of the original website. So there are differences between the markdown-generated HTML and the current website HTML (in the (*Side note: I say "idiomatic" because markdown lets you include arbitrary HTML as an "escape hatch" for things you can't express in pure markdown. So technically you could write a markdown file that just uses the original website's HTML whenever there's a slight difference, but it would end up being full of raw HTML, which would be as difficult to read and edit as HTML, defeating the purpose of using markdown.) Presumably, the point of having a markdown version is to use it for generating the HTML, so that you can edit the markdown instead of editing the HTML So the next step is to make a decision: Is it acceptable to replace the current website HTML with the markdown-generated version? If not, what are the obstacles to this? Or is there some other way forward? To help the decision, I've written PR #41, which is a breakdown of the changes to the original HTML that would be necessary to make it match the markdown-generated HTML. This PR makes step-by-step changes so that the HTML in Recently, there's been a PR (#46) intended as an update to the website content, but that edits the markdown and markdown-generated HTML, not the HTML in So please comment on what you think should be done with the markdown, or if you have any questions! |
I'm sorry for the long walls of text and multiple comments, but I'd really like some feedback: what do you feel about using markdown, of the following options?
I'm happy to accommodate whatever people want, but it would help to know what the situation is. |
|
(Ideally, there should be an automatic deployment via GitHub Actions that generates an up-to-date HTML upon each merge to master) |
Option 1. I personally don't think this repo has enough stars to be worried about the minor breakage that might occur from small mistakes in the translation process. Fix them as you hear and move forward. Agreed about the GHA to auto-generate HTML. Markdown as the single source of truth seems best to me. |
Thanks for all your effort in this important project!
I think it would be great to have the book‘s content as markdown files instead of HTML files:
Pros:
Cons:
What do you think about it?
The text was updated successfully, but these errors were encountered: