this post was submitted on 29 Jul 2023
28 points (100.0% liked)
AskBeehaw
2008 readers
1 users here now
An open-ended community for asking and answering various questions! Permissive of asks, AMAs, and OOTLs (out-of-the-loop) alike.
In the absence of flairs, questions requesting more thought-out answers can be marked by putting [SERIOUS] in the title.
Subcommunity of Chat
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Does anyone know of a static site generator where I can write in Markdown and make my links to other local Markdown documents using their local file extension and the generator will translate it to the proper thing in the end? This feels like it would be the most obvious thing but neither Jekyll nor Eleventy support it. I'm getting annoyed of setting them up just to test it.
That should link to the
Foo.html
once generated. NotFoo.md
.Would this plug-in work for you? https://github.com/benbalter/jekyll-relative-links
Thanks, that looks very promising. For folks following in my footsteps your next question may be how to remove front matter. Here is another plug-in.
GitHub Pages is one of those terms that is very overloaded and because of that it is super hard to find what you're looking for. I could've sworn using the old school "black box" GitHub Pages did this and it turns out it does. It has both the relative link plugin and the optional front matter pkugin.
The link above mentioned the GutHub Pages dependency list which then mentioned the
github-pages
gem which has all of them together. So finally I searched for "GitHub Pages docker" instead of "Jekyll docker" and lo and behold, here it is. The most recent commit is three weeks ago so it seems maintained. So finally I have a way to just simply get HTML files from some Markdown files in a simple way all in a container so I don't have to worry about how Jekyll doesn't technically support Windows.