IonicaBizau/json2md

Add alignment in markdown table

nischalshakya95 opened this issue · 0 comments

I want to add some alignment features while generating markdown table whether the rows should be right, center or left.
for eg :-

  1. Alignment center
    firstname | lastname | contact
    :---: | :---: | :---:
    Nischal | Shakya | 9841890098
    Naruto | Uzumaki | 988800990
    Sasuke | Uchia | 9841145690
    Sakura | Haruna | 9849123459

  2. Alignment left
    firstname | lastname | contact
    :--- | :--- | :---
    Nischal | Shakya | 9841890098
    Naruto | Uzumaki | 988800990
    Sasuke | Uchia | 9841145690
    Sakura | Haruna | 9849123459

  3. Alignment right
    firstname | lastname | contact
    ---: | ---: | ---:
    Nischal | Shakya | 9841890098
    Naruto | Uzumaki | 988800990
    Sasuke | Uchia | 9841145690
    Sakura | Haruna | 9849123459