middleman / middleman-asciidoc

:beginner: AsciiDoc support for Middleman 4. (In Middleman 3, AsciiDoc support is provided by a core extension).
https://middlemanapp.com
Other
27 stars 12 forks source link

resolves #94 add ability to promote custom attributes to page data and optionally replace dashes with underscores in their names #98

Closed FiveYellowMice closed 11 months ago

FiveYellowMice commented 3 years ago

I have also added the ability to replace - with _ in page data attributes in addition to #94 , since page data is often written by the convention of words separated by _ and attributes are by -, and writing attributes like page-something_something is kind of ugly. The default is still not doing that to maintain compatibility.

mojavelinux commented 11 months ago

Thanks! I really appreciate the tests and documentation. This is a first-rate PR. Nice work!