jekyll icon indicating copy to clipboard operation
jekyll copied to clipboard

feat: Render markdown files to HTML when including.

Open AStarCale opened this issue 4 years ago • 1 comments

Summary

When you include a .md or .markdown file it currently DOES NOT render it to HTML. When including markdown files or using include_relative, markdown files need to be converted to HTML.

Motivation

I'm building a Business Model Canvas (BMC) template for AStartStartup/AStartupToolkit. I was hoping to store my BMC as a Bulleted list in Markdown files then use include_relative to add all the BMC elements together to make a printable business model that you can also switch between multiple business models or load one from GitHub REST API. I personally don't think it's that bad to include an HTML with some <li></li> tags but it looks ugly and is very distracting while trying to focus on your business model. It would be much better if we could include a .md file and it would be converted to HTML, given Markdown is built to be converted to HTML it makes no sense to not convert.

Drawbacks

The drawback to not doing it is that you can't use a bunch of markdown files for bulleted lists and then combine them into one document. There are no drawbacks to implementing the feature, only benefits.

AStarCale avatar Mar 12 '22 15:03 AStarCale

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the latest 3.x-stable or master/main branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider building it first as a plugin. Jekyll 3 introduced hooks which provide convenient access points throughout the Jekyll build pipeline whereby most needs can be fulfilled. If this is something that cannot be built as a plugin, then please provide more information about why in order to keep this issue open.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

jekyllbot avatar May 12 '22 16:05 jekyllbot