-
Notifications
You must be signed in to change notification settings - Fork 192
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
The [algorithm] attribute should produce class="algorithm" in the output #759
Comments
I want that style. :( The specs I've worked on generally have followed the following pattern:
The algorithm is implicitly ended by the next |
@jyasskin Done. The @mikewest That's just a little bit too magic for me; I'm not sure that I want to automatically assume that all OLs inside of an algorithm section are the algorithm steps. That said, I just added a feature I've been planning for a while: you can manually specify the list container for markdown lists. Like:
This will use the OL you specified, rather than generating one automatically. So you'll be able to wrap your list accordingly, and won't have an extraneous wrapper element cluttering things. |
@tabatkins, any idea why the |
If I write:
I should get the same formatting I'd get if I'd used
<ol class="algorithm">
.The stylesheet already supports this with a
selector.
The text was updated successfully, but these errors were encountered: