How to Write a Beautiful Post on Lanka Developers



  • Lanka Developers used markdown syntax for styling all topics and post replies on the lanakadevelopers.com.

    What is Markdown?

    Markdown is a way to style text on the web. You control the display of the document; formatting words as bold or italic, adding images, and creating lists are just a few of the things we can do with Markdown. Mostly, Markdown is just regular text with a few non-alphabetic characters thrown in, like # or *.

    Headers

    # This is an <h1> tag
    ## This is an <h2> tag
    ###### This is an <h6> tag
    

    Emphasis

    *This text will be italic*
    _This will also be italic_
    
    **This text will be bold**
    __This will also be bold__
    
    _You **can** combine them_
    

    Lists (Unordered)

    * Item 1
    * Item 2
      * Item 2a
      * Item 2b
    

    Lists (Ordered)

    1. Item 1
    1. Item 2
    1. Item 3
       1. Item 3a
       1. Item 3b
    

    Images

    ![Your Image Name](http://example.com/images/logo.png)
    Format: ![Alt Text](url)
    

    Links

    https://lankadevelopers.com - automatic!
    [Lanka Developers](https://lankadevelopers.com)
    

    Blockquotes

    As Steve job said:
    
    > The only way to do great work is to love what you do.
    > If you haven't found it yet, keep looking. Don't settle.
    

    Inline code

    I think you should use an
    `<addr>` element here instead.
    

    Syntax highlighting

    ```javascript
    function fancyAlert(arg) {
      if(arg) {
        $.facebox({div:'#foo'}
      }
    }
    
    function fancyAlert(arg) {
       if(arg) {
          $.facebox({div:'#foo'})
       }
    }
    

    Here’s an example of Python code without syntax highlighting:

    def foo():
        if not bar:
            return True
    

    Task Lists

    - [x] @mentions, #refs, [links](), **formatting**, and <del>tags</del> supported
    - [x] list syntax required (any unordered or ordered list supported)
    - [x] this is a complete item
    - [ ] this is an incomplete item
    

    Horizontal Rules

    You can produce a horizontal rule tag (<hr />) by placing three or more hyphens, asterisks, or underscores on a line by themselves. If you wish, you may use spaces between the hyphens or asterisks. Each of the following lines will produce a horizontal rule:

    * * *
    
    ***
    
    *****
    
    - - -
    
    ---------------------------------------
    

    Tables

    Markdown table syntax is quite simple. It does not allow row or cell spanning as well as putting multi-line text in a cell. The first row is always the header followed by an extra line with dashes "-" and optional colons ":" for forcing column alignment.

    | Tables   |      Are      |  Cool |
    |----------|:-------------:|------:|
    | col 1 is |  left-aligned | $1600 |
    | col 2 is |    centered   |   $12 |
    | col 3 is | right-aligned |    $1 |
    
    Tables Are Cool
    col 1 is left-aligned $1600
    col 2 is centered $12
    col 3 is right-aligned $1

    YouTube Videos

    You cannot add directly but you can add an image with a link to the video like this:

    [![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](http://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE)
    

  • Node.js

    Thanks.. this helps us 😊😊



  • Thanks...



  • Thanks....


  • Web Development

    [thanks=>bro];


Log in to reply