Skip to content

Add markdown support to YAML entries

What

Adds markdown support to Yaml values pulled from Haml files.

How

  • Add kramdown helper to custom helpers
  • Call from Haml with = markdown(foo.bar)

Why

We'll be able to write in markdown kramdown in text entries in Yaml files and pull them from Haml files.

This will not only help us with release posts (https://gitlab.com/gitlab-com/www-gitlab-com/merge_requests/5551) but also can be very handy for the team.yml data, events.yml data, etc.

ooohhh

References:

cc/ @SeanPackham @axil

Edited by username-removed-236961

Merge request reports