GitHub页面:我如何以降价格式编辑此页面,就像我创建它一样? [英] GitHub Pages: How do I edit this page in markdown format, just as I created it?
问题描述
我不太愿意触摸该网站提供的生成的HTML,我想知道是否有任何方法可以通过降价格式更改我的页面内容,就像我在创建页面时一样?
任何关于如何执行此操作的输入都会非常棒。
默认情况下,
由于
请参阅 2016年8月更新:
所以你不要需要多个分支。
I'm not too comfortable with touching the generated HTML that the site gives, I was wondering whether there is any way to change the contents of my page in markdown formatting, the same way that I did upon creating the page?
Any input as to go about doing this would be awesome.
By default, GitHub Pages helps you generate html pages only.
But if you setup your site to use jekyll, then you can store files in markdown. For example, in the _posts
section of this repo 'cboettig/labnotebook
' which is generated to carlboettiger.info
.
See Help page "Using Jekyll with Pages"
More specifically (as highlighted in esfandia's answer), see "The Automatic Page Generator", which allows for markdown editing.
As commented by dregad, there is a new theme chooser in Dec. 2016:
See this article by Antriksh Yadav:
Update August 2016: Simpler GitHub Pages publishing now allows to keep your page files in a subfolder of the same branch (no more gh-pages
needed):
So you don't need multiple branch anymore.
这篇关于GitHub页面:我如何以降价格式编辑此页面,就像我创建它一样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!