{"id":23132093,"url":"https://github.com/natserract/haml-zero-to-hero","last_synced_at":"2026-01-15T22:45:28.778Z","repository":{"id":120760741,"uuid":"227953531","full_name":"natserract/haml-zero-to-hero","owner":"natserract","description":"Learn HAML from scratch","archived":false,"fork":false,"pushed_at":"2019-12-14T02:16:45.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T18:44:39.586Z","etag":null,"topics":["haml","html","html5","learning","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/natserract.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-14T02:15:15.000Z","updated_at":"2021-09-09T03:22:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d02fefd-61b1-42e6-b9ca-bf1d6e4e484a","html_url":"https://github.com/natserract/haml-zero-to-hero","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natserract%2Fhaml-zero-to-hero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natserract%2Fhaml-zero-to-hero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natserract%2Fhaml-zero-to-hero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natserract%2Fhaml-zero-to-hero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natserract","download_url":"https://codeload.github.com/natserract/haml-zero-to-hero/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247138085,"owners_count":20889988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["haml","html","html5","learning","tutorial"],"created_at":"2024-12-17T11:17:01.490Z","updated_at":"2026-01-15T22:45:28.750Z","avatar_url":"https://github.com/natserract.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HAML  (HTML Abstraction Markup Language) - HTML Preprocessors\n\nHaml is a templating engine for HTML. It's designed to make it both easier and more pleasant to write HTML documents, by eliminating redundancy, reflecting the underlying structure that the document represents, and providing an elegant syntax that's both powerful and easy to understand.\n\n## Basic Usage\n\nHaml can be used from the command line or as part of a Ruby web framework. The\nfirst step is to install the gem:\n\n~~~sh\ngem install haml\n~~~\n\nAfter you write some Haml, you can run\n\n~~~sh\nhaml document.haml\n~~~\n\nto compile it to HTML. For more information on these commands, check out\n\n~~~sh\nhaml --help\n~~~\n\n\n## Formatting\n\nThe most basic element of Haml is a shorthand for creating HTML:\n\n~~~haml\n%tagname{:attr1 =\u003e 'value1', :attr2 =\u003e 'value2'} Contents\n~~~\n\nNo end-tag is needed; Haml handles that automatically. If you prefer HTML-style\nattributes, you can also use:\n\n~~~haml\n%tagname(attr1='value1' attr2='value2') Contents\n~~~\n\nAdding `class` and `id` attributes is even easier. Haml uses the same syntax as\nthe CSS that styles the document:\n\n~~~haml\n%tagname#id.class\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatserract%2Fhaml-zero-to-hero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatserract%2Fhaml-zero-to-hero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatserract%2Fhaml-zero-to-hero/lists"}