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 with multiple levels #25

Open
jhspetersson opened this issue Oct 12, 2018 · 1 comment
Open

TOC with multiple levels #25

jhspetersson opened this issue Oct 12, 2018 · 1 comment
Assignees
Labels
Feature New feature or enhancement question Further information is requested

Comments

@jhspetersson
Copy link

It would be great to have an option to feed not just a plain list of URLs, but a tabbed, spaced, or somehow formatted (see below) file with captions and URLs to form a multilevel TOC in a resulting PDF.

A sample of such an input file:

<h1><a href="http://url1.com">Level 1 caption</a></h1>
	<h2><a href="http://url11.com">Level 1-1 caption</a></h2>
		<h3><a href="http://url111.com">Level 1-1-1 caption</a></h3>
		<h3><a href="http://url112.com">Level 1-1-2 caption</a></h3>
	<h2><a href="http://url12.com">Level 1-2 caption</a></h2>
		<h3><a href="http://url121.com">Level 1-2-1 caption</a></h3>
		<h3><a href="http://url122.com">Level 1-2-2 caption</a></h3>
@danburzo danburzo self-assigned this Oct 12, 2018
@danburzo danburzo added the Feature New feature or enhancement label Oct 12, 2018
@danburzo
Copy link
Owner

Sounds neat! I wonder if this is something we'd rather do with the Programmatic API (#4) rather than the CLI directly.

@danburzo danburzo added the question Further information is requested label Oct 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or enhancement question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants