I've put together a little post to introduce you to the Notpead theme and get you started with Markdown. Go ahead and edit this post to get going and learn how it all works!
ELEMENTS
Writing in markdown is really easy. In any editor like notepad, you simply write as you normally would. Where appropriate, you can use formatting shortcuts to style your content.
LISTS
For example, a list:
- Item number one
- Item number two
- A nested item
- A final item
or with numbers!
- Remember to buy some milk
- Drink the milk
- Tweet that I remembered to buy the milk, and drank it
LINKS
Want to link to a source? No problem. If you put the url in this format, like [http://getgrav.org/](http://getgrav.org/)
- it'll automatically be linked up like http://getgrav.org/. But if you want to customize your anchor text, you can do that too! Here's a link to the my website. Neat.
WHAT ABOUT IMAGES?
Images work too! And they are responsive! Already know the URL of the image you want to include in your article? Images are responsive and uses lightbox.
Check out [this post]({{ base_url_absolute }}/articles/sample-post-images/) to learn about including images in your post.
AND VIDEOS?
Video embeds are responsive and scale with the width of the main content block with the help of FitVids.
EQUATIONS
Are you an engineer? Or a mathematician? Want to post some equations in your Grav blog for the world to see? No problem. Wrapping your equation between $$...$$
will produce something like this:
THE LOGO
Not sure which image you want to use yet? That's ok too. Leave yourself a descriptive placeholder and keep writing. Come back later and change the image in the user/config/site.yml.
ICONS
This theme includes over 360 fontawesome icons. To use an icon go to Fontawesome website and click on the desired icon to find the appropriate tag.
QUOTING
Sometimes a link isn't enough, you want to quote someone on what they've said. It was probably very wisdomous. Is wisdomous a word? Find out in a future release when I introduce spellcheck! For now - it's definitely a word.
Wisdomous - it's definitely a word. Hossain Mohd Faysal
READY FOR A BREAK?
Throw 4 or more dashes down on any new line and you've got yourself a fancy new divider. Aw yeah.
That should be enough to get you started. Have fun - and let us know what you think @getgrav.