Need advice about which tool to choose?Ask the StackShare community!
Markdown vs Slim Lang: What are the differences?
Markdown: Text-to-HTML conversion tool/syntax for web writers, by John Gruber. Markdown is two things: (1) a plain text formatting syntax; and (2) a software tool, written in Perl, that converts the plain text formatting to HTML; Slim Lang: Template language whose goal is reduce the syntax to the essential parts without becoming cryptic. Slim is a template language whose goal is to reduce the view syntax to the essential parts without becoming cryptic. It started as an exercise to see how much could be removed from a standard html template (<, >, closing tags, etc...). As more people took an interest in Slim, the functionality grew and so did the flexibility of the syntax.
Markdown belongs to "Languages" category of the tech stack, while Slim Lang can be primarily classified under "Templating Languages & Extensions".
"Easy formatting" is the top reason why over 345 developers like Markdown, while over 10 developers mention "Easier to type and maintain than haml" as the leading cause for choosing Slim Lang.
Slim Lang is an open source tool with 4.83K GitHub stars and 472 GitHub forks. Here's a link to Slim Lang's open source repository on GitHub.
Pros of Markdown
- Easy formatting345
- Widely adopted246
- Intuitive194
- Github integration132
- Great for note taking41
- Defacto GitHub lingo2
Pros of Slim Lang
- Easier to type and maintain than haml13
- Very clean and logical12
- Integrates with Rails by installing a single gem9
- Performs better than haml8
- Concise4
- Extensive package support in sublime text 2 and 33
- Atom package support1
Sign up to add or upvote prosMake informed product decisions
Cons of Markdown
- Cannot centralise (HTML code needed)2
- Inconsistend flavours eg github, reddit, mmd etc1
- Limited syntax1
- Not suitable for longer documents1
- Non-extensible1
- No right indentation1
- No underline1
- Unable to indent tables1
Cons of Slim Lang
- Not so good editor support2
- Overcomplicated syntax1
- Lots of syntactic corner cases1
- Easy to break nesting when reindenting or copy-pasting1