Overview:
This product is a style sheet for rendering content in Github Flavored Markdown (GFM). It provides a way to format the content generated by Hugo and style it using the Markdown class. The product also offers a nested version of the style sheet, generated by a Python script called “nest.py”. This product was inspired by the @apply directive and the concept of creating rules for a Markdown class in Tailwind CSS.
Features:
- Github Flavored Markdown (GFM): Render content as GFM by adding the Markdown class to the desired elements.
- Styling Hugo Content: Style generated Hugo content using the provided style sheet.
- Nesting Support: The product offers a nested version of the style sheet generated by the “nest.py” Python script.
Installation:
To use this style sheet, follow these steps:
- Include the provided style sheet “markdown.css” in your project.
- Add the Markdown class to any element you want to render as GFM.
<div class="markdown">
<!-- GFM content here-->
</div>
For nested rules, use the “markdown-nested.css” style sheet generated by the “nest.py” script.
Summary:
This product provides a style sheet for rendering content as Github Flavored Markdown (GFM). It can be used to style content generated by Hugo by adding the Markdown class to the desired elements. Additionally, a nested version of the style sheet is available for those who prefer nested rules. This product was inspired by the concept of the @apply directive and rules for a Markdown class in Tailwind CSS.