Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Asciidoctor
Asciidoctor

9
7
+ 1
0
HAML
HAML

410
274
+ 1
262
Add tool

HAML vs Asciidoctor: What are the differences?

Developers describe HAML as "HTML Abstraction Markup Language - A Markup Haiku". Haml is a markup language that’s used to cleanly and simply describe the HTML of any web document, without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ERB, and ASP. However, Haml avoids the need for explicitly coding HTML into the template, because it is actually an abstract description of the HTML, with some code to generate dynamic content. On the other hand, Asciidoctor is detailed as "An open source, pure Ruby processor for converting AsciiDoc documents or strings into HTML and other formats". It is a fast, open source text processor and publishing toolchain for converting AsciiDoc content to HTML5, DocBook, PDF, and other formats. Asciidoctor is written in Ruby and runs on all major operating systems .

HAML and Asciidoctor are primarily classified as "Languages" and "Text Processors" tools respectively.

HAML is an open source tool with 3.44K GitHub stars and 545 GitHub forks. Here's a link to HAML's open source repository on GitHub.

- No public GitHub repository available -

What is Asciidoctor?

It is a fast, open source text processor and publishing toolchain for converting AsciiDoc content to HTML5, DocBook, PDF, and other formats. Asciidoctor is written in Ruby and runs on all major operating systems

What is HAML?

Haml is a markup language that’s used to cleanly and simply describe the HTML of any web document, without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ERB, and ASP. However, Haml avoids the need for explicitly coding HTML into the template, because it is actually an abstract description of the HTML, with some code to generate dynamic content.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Asciidoctor?
Why do developers choose HAML?
    Be the first to leave a pro

    Sign up to add, upvote and see more prosMake informed product decisions

      Be the first to leave a con
      What companies use Asciidoctor?
      What companies use HAML?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Asciidoctor?
      What tools integrate with HAML?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Asciidoctor and HAML?
      Sphinx
      It lets you either batch index and search data stored in an SQL database, NoSQL storage, or just files quickly and easily — or index and search data on the fly, working with it pretty much as with a database server.
      Markdown
      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.
      PHP
      Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
      JavaScript
      JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
      Python
      Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
      See all alternatives
      Decisions about Asciidoctor and HAML
      Russel Werner
      Russel Werner
      Lead Engineer at StackShare · | 11 upvotes · 101.8K views
      atStackShareStackShare
      Emotion
      Emotion
      JavaScript
      JavaScript
      Glamorous
      Glamorous
      React
      React
      HAML
      HAML
      Sass
      Sass
      #Inlinecss

      When we rebooted our front-end stack earlier this year, we wanted to have a consolidated and friendly developer experience. Up to that point we were using Sass and BEM. There was a mix of HAML views, React components and Angular. Since our ongoing development was going to be exclusively in React, we wanted to shift to an inline styling library so the "wall of classnames" could be eliminated. The ever-shifting landscape of inline CSS libraries for React is sometimes difficult to navigate.

      We decided to go with Glamorous for a few reasons:

      1) Previous team experience with this library 2) We can write our styles in plain JavaScript (which brings many benefits) 3) It supports server-side rendering 4) It has great composition patterns

      As you may or may not know, Glamorous has ceased active development and been mostly superseded by Emotion. We are planning to migrate to either Emotion or @styled-components in the near future, and I'll write another Stack Decision when we get there!

      #inlinecss

      See more
      Interest over time
      Reviews of Asciidoctor and HAML
      No reviews found
      How developers use Asciidoctor and HAML
      Avatar of StackShare
      StackShare uses HAMLHAML

      Personally, I really like HAML. Not having to use open and close tags is a huge time saver. As a result, writing markup with HAML is much more pleasant. HAML essentially forces you to be very strict about spacing, organization, and structure. It also makes the markup easier to read. Protip: I use this pretty frequently: htmltohaml.com

      How much does Asciidoctor cost?
      How much does HAML cost?
      Pricing unavailable
      Pricing unavailable
      News about Asciidoctor
      More news
      News about HAML
      More news