Welcome to Jekyll!

less than 1 minute read

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

To add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

Jekyll also offers powerful support for code snippets:

def print_hi(name)
  puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.

Tags:

Categories:

Updated:

Comments

Michael Rose

This is a test comment with some Markdown sprinkled about for testing purposes.

Subheading in a comment? Madness!

Nam et risus nec ipsum efficitur facilisis. Aenean tincidunt dapibus odio, eget rutrum urna lacinia non. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

VIpin Kumar

Hey Michael, I was using your theme and found out that I cant use the collapsible markdown feature. Could you please let me know if there is any solution to this ? Eg code is below

collapsible markdown?

CLICK ME

#### yes, even hidden code blocks! ```python print("hello world!") ```

Michael Rose

You’re mixing Markdown inside of HTML elements, which is why it’s not working. Look at Kramdown’s documentation as they have ways of enabling it I believe.

Leave a comment

Your email address will not be published. Required fields are marked *

Loading...