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

toc should not be automatically added to AsciiDoc table cell #1582

Closed
mojavelinux opened this issue Nov 21, 2015 · 1 comment
Closed

toc should not be automatically added to AsciiDoc table cell #1582

mojavelinux opened this issue Nov 21, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@mojavelinux
Copy link
Member

When the toc was added for embedded documents, it started to appear inside AsciiDoc table cells. If the toc is enabled on a document, it should not appear automatically in an AsciiDoc table cell.

@mojavelinux
Copy link
Member Author

To workaround the issue, it's necessary to unset the toc attribute below the document header.

= Document Title
Author Name
:toc: right

:toc!:

content

The placement of the blank line above the :toc!: line is significant.

mojavelinux added a commit to mojavelinux/asciidoctor that referenced this issue Dec 21, 2015
- prevent default toc from being inserted into AsciiDoc table cell
@mojavelinux mojavelinux added wip and removed next labels Dec 21, 2015
mojavelinux added a commit that referenced this issue Dec 22, 2015
resolves #1582 don't include default toc in nested document
@mojavelinux mojavelinux removed the wip label Dec 22, 2015
mojavelinux added a commit to mojavelinux/asciidoctor that referenced this issue Dec 23, 2015
…document

- don't pass toc location attributes (toc, toc-placement, toc-position) to subdocument
- allow toc to be enabled in AsciiDoc table cell
- add tests for more toc scenarios in AsciiDoc table cell
mojavelinux added a commit that referenced this issue Dec 26, 2015
reresolves #1582 don't pass toc location attributes to subdocument
ggrossetie pushed a commit to ggrossetie/asciidoctor that referenced this issue Jun 23, 2016
- prevent default toc from being inserted into AsciiDoc table cell
- add test to cover scenario
ggrossetie pushed a commit to ggrossetie/asciidoctor that referenced this issue Jun 23, 2016
…document

- don't pass toc location attributes (toc, toc-placement, toc-position) to subdocument
- allow toc to be enabled in AsciiDoc table cell
- add tests for more toc scenarios in AsciiDoc table cell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant