Giter Club home page Giter Club logo

mdslides's People

Contributors

jonathanpallant avatar miguelraz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mdslides's Issues

Support sub-headings in SUMMARY.md

If SUMMARY.md contains this:

# Summary

[Start Here](./start_here.md)

# Rust Fundamentals

## Introduction and History

-   [Overview](./overview.md)

## Compound Types & match

-   [Compound Types](./compound-types.md)

# Applied Rust

## Methods (review)

-   [Method Syntax](./method-syntax.md)

the HTML output should be as follows. Note that the # Summary heading (and all its content) is ignored, because this section is about the slides, rather than being slides themselves.

<h1>Rust Fundamentals</h1>

<h2>Introduction and History</h2>

<ul>
<li><a href="./overview.html">Overview</a></li>
</ul>

<h2>Compound Types & match</h2>

<ul>
<li><a href="./compound-types.html">Compound Types</a></li>
</ul>

<h1>Applied Rust</h1>

<h2>Methods (review)</h2>

<ul>
<li><a href="./method-syntax.html">Method Syntax</a></li>
</ul>

Add index page

Add an optional "--generate-index" argument which will convert <book-path>/src/SUMMARY.md into <output-dir>/index.html, with links to each slide deck.

Support extra code tags

The mdbook tool supports code blocks like:

```rust

But also ones like

```rust,editable

You typically use ,editable to get line numbers on the code block (but it also makes the code editable in-line).

The latter kind are not supported by mdslides currently - the language goes though as rust,editable which is not supported by highlight.js.

We could try and patch mdbook to make all code blocks editable by default, or we should patch mdslides to strip ,editable from any code blocks.

A way to ignore sections of page

Placeholder issue for me - @amanjeev.

Our embedded training book could be used to generate slides but in that training slides need to be succinct and have only a portion of the pages. Look at reveal.js if there is an option to ignore blocks of pages to be converted to slides.

This option will help generate slides from the book without sacrificing the book's detailed nature, which is required in embedded course.

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.