-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve structure and semantics of output #219
Comments
even better, allow for a custom template to wrap around the generated content |
This is possible by using a custom renderer. See the example_markdown_renderer on how to customize the output. You also need to set the |
Sorry I'm new to this. |
May I ask for help in this too? I don't see anything like headings in the example renderer you're linking too, but only code example blocks. Am I missing something? Thanks :) |
@wilson-huynh-webjet @ffoodd Sorry for the delayed reply; didn't see the notification. In a theme that I created for Hologram, voxel-hologram, I was able to wrap each code snippet and example in a custom wrapper element. Please see markup_example_template.html.erb. The file name, Please share a link to your repo where you're trying this out. I'll be able to understand your problem better and help out. Thanks! |
It would be great if individual sections were sectioned in the output. It would improve the structure and semantics while offering better ways to scope CSS or JS.
For example, the markup of this page takes the general form of...
<h1>
)<p>
, etc.)<h1>
)<p>
, etc.)...and I propose a sectioned approach like:
<section>
)<h1>
)<p>
, etc.)<section>
)<h1>
)<p>
, etc.)The text was updated successfully, but these errors were encountered: