Skip to content

Samdney/ar5ivist-tableofcontents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ar5ivist-tableofcontents

Offers a style (css), java script (js), and html file setup for adding a table of contents to ar5iv-style html paper pages generated with ar5ivist.

Usage

  1. Generate the html with ar5ivist like it is explained in their repository.
  2. Add to the generated head:
<head>
	...
	<link rel="stylesheet" href="paper-layout.css" type="text/css">
	<script src="paper-toc.js" defer></script>
	...
</head>
  1. Add to the generated body:
<body>
	<div class="paper-layout">
  		<aside class="paper-toc" aria-label="Table of contents">
    
    		<nav id="paper-toc">
      			<div class="paper-toc-title">Contents</div>
    		</nav>
  		</aside>    
    
      	<main class="paper-content" id="paper-content">
        	# Put here the body content of your generated html
	  	</main>
	</div>	
</body>

Screenshot

Screenshot

Disclaimer

  • Usage of the ar5ivist-tableofcontents, and visit of external links, on your own risk. The author doesn't take any responsibility for possible damage.

About

Offers a style (css), java script (js), and html file setup for adding a table of contents to ar5iv-style html paper pages generated with ar5ivist.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors