Please create a new GitHub issue for topic ideas that you would like us to write about
npm install
hexo new draft <filename>
tags: news
tags: notes
tags: releases
tags: tutorials (beginner)
tags: tutorials (intermediate)
tags: tutorials (advanced)
tags: behind the scenes
Note: Make sure you add a space after the colon
tags:
- news
- releases
by
):tags:
- news
- by Uncle Bob
Note: Make sure you write your name the same way for all posts so it filters correctly (so no Uncle Bob one week and Uncle Bobby the next)
hexo s
(if port 5000 is being used already, try hexo s -p 4000
)hexo p <filename>
public
folder for hosting: hexo generate
index.html
file in the public
foldercd public
git init
git remote add live git@github.com:marionettejs/blog.git
gh-pages
branch - NOT MASTER - (this is where blog.marionettejs.com is hosted on GitHub):public
directorygit add .
git commit -m 'publish <TITLE>' && git push live master:gh-pages
There's a matching folder with the same name as your post. Save you image(s) in that folder.
![alt text](/path/to/img.png "Title")
``` [language]
code snippet
```
If you're responding to a comment on Disqus and want syntax highlighting, place your code inside <pre><code>
tags. For example:
<pre><code>
var foo = 'bar';
alert('foo');
</code></pre>
Happy blogging!