Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github pages: where's the markdown?

When I created a github page I got to edit markdown. Great. Now I want to edit my page. Problem is there's no markdown. Just an index.html and a params.json that literally contain duplicated content. I want to edit my site in the same markdown I got to edit it in when it was created.

This is very odd to me. I don't understand why when I create a page I get to write markdown, but if I want to literally change one word in my initial commit I can't do it in that markdown file. Presumably, I'm missing something obvious.

I think this question is trying to ask the same thing, but given that the accepted answer doesn't actually answer this question, I'm posting this as separate and will maybe figure out how to maintain that question later.

like image 631
djechlin Avatar asked May 05 '13 15:05

djechlin


2 Answers

Hit the settings button

settings

Followed by the Automatic Page Generator button

generator

This will allow you to update the content of the site using GitHub’s system.

like image 138
2 revs Avatar answered Nov 09 '22 10:11

2 revs


If you replace index.html with index.md containing your original markdown text, and add a "Front Matter" section at the top, then you can do your page editing in markdown instead of HTML.

like image 33
Wilfredo Sánchez Vega Avatar answered Nov 09 '22 09:11

Wilfredo Sánchez Vega