GithubHelp home page GithubHelp logo

gerhobbelt / markdown-it-revealjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ynohat/markdown-it-revealjs

0.0 2.0 0.0 4 KB

Introduce slide separators compatible with RevealJS, including horizontal and vertical navigation.

License: MIT License

JavaScript 100.00%

markdown-it-revealjs's Introduction

markdown-it-revealjs

Usage

npm install --save markdown-it-revealjs
var md = require('markdown-it')();
md.use(require('markdown-it-revealjs'));

Description

RevealJS allows us to write markdown within slide sections.

This markdown-it plugin allows us to write markdown to generate a markup structure that is compatible with RevealJS horizontal and vertical navigation.

The following Markdown:

# Section 1

---

# Section 2

===

# Section 2.1

===

# Section 2.2

---

# Section 3

Generates the following HTML:

<section class="reveal">
	<div class="slides">
		<section>
			<h1>Section 1</h1>
		</section>
		<section>
			<section>
				<h1>Section 2</h1>
			</section>
			<section>
				<h1>Section 2.1</h1>
			</section>
			<section>
				<h1>Section 2.2</h1>
			</section>
		</section>
		<section>
			<h1>Section 3</h1>
		</section>
	</div>
</section>

License

MIT © Anthony Hogg

markdown-it-revealjs's People

Contributors

ynohat avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.