Reusing parts of external markdown files

No, not out out the box. (also including a complete file will need a few lines of code). If you are interested only in the beginning of the file you could read on Content Summaries

Yes - you mention “in a list of projects”. Implementing a partial template will be the way to go.

If you later also want to include content to your markdown file at certain places you need a custom shortcode to call it from Markdown. Here you could reuse the template you wrote for including the snippet in the list page.

No, without hacking there’s no way to add external libraries or tools (other than already provided)

maybe - depending on included content, your theme, and use case. In your case of a simple README. I would go with the markdown.

HTML may include styles, define html tags used by css, … and your current page is a list page that may use different ones. You could get side effects. and unwanted stylings…

Implementation

usually done by either

  • looping over included lines and check for begin and end patterns in your case ^#+ HEADING NAME and then ^#+for the end.
  • a regular expression matching a heading with name up to the next heading or endof file.

Here’s a link to a previous topic to get an idea Shortcode for pasting multiple snippets from single file