All Projects → Mushiyo → pandoc-toc-sidebar

Mushiyo / pandoc-toc-sidebar

Licence: other
A Pandoc HTML template with TOC on the sidebar, using Bootstrap 3

Programming Languages

HTML
75241 projects

Projects that are alternatives of or similar to pandoc-toc-sidebar

baking-soda
baking-soda is an interface between clojurescript's reagent and reactstrap (i.e., bootstrap 4 react components) and react-bootstrap (i.e., bootstrap 3 react components)
Stars: ✭ 74 (+32.14%)
Mutual labels:  bootstrap3
bootstrap-print
To manage print media for Twitter Bootstrap v3.
Stars: ✭ 60 (+7.14%)
Mutual labels:  bootstrap3
NSP
A Social Network that brings engineer's from all fields together to collaborate 🌐
Stars: ✭ 28 (-50%)
Mutual labels:  bootstrap3
resizing-header-on-scroll
When you scroll down the page a bit, the header resizes smaller with CSS3 animations, and gets back bigger when you scroll back to the top
Stars: ✭ 19 (-66.07%)
Mutual labels:  navbar
atguigu ssm crud
Atguigu-SSM-CRUD 一个最基本的CRUD系统,采用IDEA+Maven搭建,具备前后端交互功能,前端采用BootStrap+Ajax异步请求DOM渲染,后端采用SpringMVC+MyBatis+Mysql8.0+Servlet+Jsp,符合REST风格URL规范,并加入了Hibernate提供的数据校验功能,支持PageHelper的分页功能,很适合SSM阶段性练习。同时用到了很多前端操作以及BootStrap组件,也有利于学习JS和前端框架。
Stars: ✭ 52 (-7.14%)
Mutual labels:  bootstrap3
kirby-previewfiles
💪 A Kirby field to enable file thumbnail preview in the panel sidebar
Stars: ✭ 35 (-37.5%)
Mutual labels:  sidebar
wp-bootstrap4-navwalker
A custom WordPress nav walker class to fully implement the Twitter Bootstrap 4.x navigation style in a custom theme using the WordPress built in menu manager
Stars: ✭ 40 (-28.57%)
Mutual labels:  navbar
solveme
SolveMe - Jeopardy CTF Platform
Stars: ✭ 51 (-8.93%)
Mutual labels:  bootstrap3
chaldene
Chaldene Admin Template
Stars: ✭ 46 (-17.86%)
Mutual labels:  bootstrap3
LLNavigationController
This is a subClass Of UINavigationController.本导航条继承UINavigationController,自定义滑动返回手势与滑动动画,同时可自定义过场动画,解决了手势共存时的冲突。在系统类的基础上进行扩展,节约性能,无任何代码耦合度,可随时集成与剥离。支持iOS7以上系统,兼容iOS11,版本稳定。
Stars: ✭ 20 (-64.29%)
Mutual labels:  navbar
jekyll-material-design
Jekyll Bootstrap 3 with the material design flavour. Publish your materialized blog using GitHub Pages easily.
Stars: ✭ 67 (+19.64%)
Mutual labels:  bootstrap3
bootstrap-on-wordpress-theme
a blank bootstrap 3.3.7 ready wordpress theme
Stars: ✭ 25 (-55.36%)
Mutual labels:  bootstrap3
responsivebootstrap
This is the repository for my course, Bootstrap Layouts: Responsive Single-Page Design on LinkedIn Learning and Lynda.com.
Stars: ✭ 49 (-12.5%)
Mutual labels:  bootstrap3
daily ui
#dailyui exercises
Stars: ✭ 16 (-71.43%)
Mutual labels:  bootstrap3
yii2-menu
Menu menager, dynamic Yii2 widget. Active menu items
Stars: ✭ 26 (-53.57%)
Mutual labels:  navbar
discord-sidebar-price-bot
A minimal Discord sidebar price bot (supports forex, crypto, eth gas & fear and greed index)
Stars: ✭ 37 (-33.93%)
Mutual labels:  sidebar
meteor-editable-text-wysiwyg-bootstrap-3
WYSIWYG extension for babrahams:editable-text package for bootstrap-3 apps
Stars: ✭ 18 (-67.86%)
Mutual labels:  bootstrap3
content-aware-sidebars
WordPress Plugin to create and display custom sidebars according to the content being viewed. Fast and powerful.
Stars: ✭ 21 (-62.5%)
Mutual labels:  sidebar
Easy-HotSpot
Easy HotSpot is a super easy WiFi hotspot user management utility for Mikrotik RouterOS based Router devices. Voucher printing in 6 ready made templates are available. Can be installed in any PHP/MySql enabled servers locally or in Internet web servers. Uses the PHP PEAR2 API Client by boenrobot.
Stars: ✭ 45 (-19.64%)
Mutual labels:  bootstrap3
angular2-node-fb-login
Demo application that shows how to enable Facebook login with Angular 2 on frontend and Node.js/Express on backend
Stars: ✭ 55 (-1.79%)
Mutual labels:  bootstrap3

pandoc-toc-sidebar

A Pandoc HTML template modified from Bootstrap dashboard example.
It has a navbar on the top of the page for website navigation, and a TOC (table of contents) on the sidebar for page navigaion, suitable for building website with Pandoc.

Usage

  1. Download the ZIP file then unzip it, or
git clone https://github.com/Mushiyo/pandoc-toc-sidebar.git
  1. Put the file(s) which you want to convert into HTML with Pandoc into the pandoc-toc-sidebar folder. Then
cd pandoc-toc-sidebar
  1. Modify the nav file to fit your website structure.
    The code in the nav file is a Bootstrap navbar.

  2. Assume the file to convert is input.md, then the command will look like

pandoc input.md --template toc-sidebar.html -B nav -o outWithoutTOC.html

If you want to add TOC, then the command will look like

pandoc input.md --template toc-sidebar.html --toc -B nav -o outWithTOC.html

Options

Local or self-contained css and JavaScript files

For local css and JavaScript files, or using Pandoc's --self-contained option, replace toc-sidebar.html with toc-sidebarL.html in step 4.

<table> styles

The <table> styles here are the following Bootstrap table classes: .table, table-bordered and table-hover. You can change the styles by modifying line 104 in toc-sidebar.html (or toc-sidebarL.html if local css and js files are used). For example, if you want .table-striped, just replace table table-bordered table-hover into table table-striped. Read Bootstrap documentation for more Bootstrap table styles.

No navbar

If you do not want a navbar, you can remove -B nav option in step 4. However, for the time being, this will result in a not good looking layout :(

Output examples

A single page

The following output examples are converted from Pandoc's README file and is using toc-sidebarL.html template

A website

My notes, the contents are mostly written in Chinese, you can find the markdown source files here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].