Skip to content

Latest commit

 

History

History
96 lines (63 loc) · 2.7 KB

2020-01-10-markdown-for-writing.md

File metadata and controls

96 lines (63 loc) · 2.7 KB
layout title subtitle tags comments
post
Markdown for writing!
... boost your focus on ideas, and let rendering handled with a $ git push.
markdown
productivity
true

MARKDOWN:Create top level Heading with single '#' character

Markdown is a plain text formatting syntax for writers. It allows you to quickly write structured content for the web, and have it seamlessly converted to clean, structured HTML. You can write regular markdown here and Jekyll will automatically convert it to a nice webpage.

Now it is time to learn some more useful features.

you can add some emphasis using double underscore '_' before and after the text to make it look like this Here is some bold text

Lets test the headings by increasing '#' characters:

Here is a secondary heading

Here is a third level heading

Here is a fourth level heading

Markdown enables creating tables also, here's an example:

| Financial Model | Actual | Budget | Forecast1 | | :------ |:--- | :--- | :--- | :--- | | Total Assets | 150 | 220 | 350 | :------ |:--- | :--- | :--- | :--- | | Total Liabilities | 100 | 160 | 280 | | Shareholder's Equity | 50 | 60 | 70 :------ |:--- | :--- | :--- | :--- |

Creating tables with hyphens and pipes can be tedious. To speed up the process, you can try using the Markdown Tables Generator. Visit the website, build a table using the graphical interface, and then copy the generated Markdown-formatted text into your file.

Images can also be added from your preferred folder.
'!\[text_about_image](/foldername/imagefile.extension)\]'

How about an image of good news from me?

good news

the image can also be centered using a {: .center-block :} following the image link above.

img{: .center-block :}

Here's a code chunk with syntax highlighting by using " ``` " character and to wrap the code and also mention the programming language.

template:

``` language_name ie : javascript

some code block here

```

And here is the same code with syntax highlighting:

var foo = function(x) {
  return(x + 5);
}
foo(3)

And here is the same code yet again but with line numbers:

{% highlight javascript linenos %} var foo = function(x) { return(x + 5); } foo(3) {% endhighlight %}

Boxes

You can add notification, warning and error boxes like this:

Notification

{: .box-note} Note: This is a notification box.

Warning

{: .box-warning} Warning: This is a warning box.

Error

{: .box-error} Error: This is an error box.

This is well enough for this post.
You can explore more of Markdown, while writing your own posts.