Skip to content
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

Outline/TOC function clarification #90

Open
sethwoodworth opened this issue May 4, 2015 · 3 comments
Open

Outline/TOC function clarification #90

sethwoodworth opened this issue May 4, 2015 · 3 comments

Comments

@sethwoodworth
Copy link

@rdhyee and I are building ebooks from asciidoc sources. HTMLBook spec says to use <ol> but the default outline function outputs <ul>. @rdhyee patched this by overriding the outline ruby method.

In this issue from asciidoctor @mojavelinux suggests a better way of calling outline and shows how the <ul> behavior of asciidoc can be overridden.

@mojavelinux
Copy link

mojavelinux commented May 4, 2015 via email

@sethwoodworth
Copy link
Author

The patch was totally a hey-lets-hack-this-right-now solution. Templates are 110% preferred for our usecase.

@mojavelinux
Copy link

The patch was totally a hey-lets-hack-this-right-now solution.

To clarify, this wasn't possible before 1.5.0, so at the time it was probably the only way. I recognized this issue when working on 1.5.0 and rectified it so simplify cases just like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants