ferrous-systems / mdslides Goto Github PK
View Code? Open in Web Editor NEWA tool for turning mdbooks into slide shows
License: Other
A tool for turning mdbooks into slide shows
License: Other
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>
Running --help
should report the original repository the binary was built from, which then gives users access to all the dependencies.
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.
I feel like we can add some conventional defaults to the two args
--template
--output-dir
Use https://github.com/axodotdev/cargo-dist to publish sliders.
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.
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.
Bring the source code over from material-templates.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.