Github include md files in README.md?

后端 未结 4 937
南方客
南方客 2021-02-06 23:36

Is there a way in Github to include md files in for example the README.md?

# Headline

Text

[include](File:load_another_md_file_here.md)

It sh

相关标签:
4条回答
  • 2021-02-06 23:59

    That does not seem to be possible, especially when considering github/markup#346 and github/markup#172.

    No include directive is supported.

    0 讨论(0)
  • 2021-02-06 23:59

    Since it is not possible I just ended up placing a link as

    [MY-LINK](../../SOME-OTHER-README.MD)
    
    0 讨论(0)
  • 2021-02-07 00:06

    Ruby gem markdown_helper implements include files for GitHub flavored markdown (GFM).

    Disclosure: I wrote the gem.

    0 讨论(0)
  • 2021-02-07 00:07

    This is not the correct answer but a workaround for others who really want this.

    It's possible to use Gulp and Gulp Concat to merge the files into one before they are sent to Github..

    0 讨论(0)
提交回复
热议问题