mdtoreveal
It's an extremly basic Markdown to reveal.js conversion tool.
Yes reveal already supports Markdown, but it needs specifically crafted Markdown with strange separators which I don't personally like. And yes you can also do this using pandoc but it mess with syntax highlighting by handling it.
Usage
mdtoreveal my_prez.md --output my_prez.html
It's also allowed to skip the output file, so its name is guessed, the previous command is equivalent to the following one:
mdtoreveal my_prez.md
Syntax
Let's start with pure Markdown:
# Big titles makes reveal.js "columns"
## Sub titles make reveal.js "slides" inside columns.
```python
print("Syntax highlighting works")
```
::: notes
Look, this is a personal note, it's not mandatory to use them, but you still can.
Everything betwen `::: notes` and the next slide is only visible by the presenter.
## 2nd slide
Blah blah …
Example
It converts this into this (this one uses a .gitlab-ci.yml to publish on push).
Configuration
There's not, deal with it, don't loose your time on fine-tuning, and focus on your presentation.
Still, you prefer a dark theme? It's unreadable on video projectors, keep this one, trust me.
You want bigger code blocks? You already have 12 lines and 61 columns, if you stuff more, it won't be readable anyway, stick to it.
You want a bigger font for your code blocks, so it's still readable from the end of the room? I can understand that, I used to use a bigger one too, let's talk in the issues.
You're using a Makefile?
Me too ♥ this should do:
SRCS := $(wildcard *.md)
HTML := $(SRCS:.md=.html)
.PHONY: static
static: $(HTML)
%.html: %.md
mdtoreveal $< -o $@
Contributing
pip install -e .[dev]
tox -p all
Metadata
Release files for mdtoreveal 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mdtoreveal-0.4.tar.gz | 6.2 kB | Without provenance | Details for mdtoreveal-0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mdtoreveal-0.4-py3-none-any.whl | Python 3 | none | any | Details for mdtoreveal-0.4-py3-none-any.whl |
Total release size: 11.8 kB
Release files / mdtoreveal-0.4.tar.gz
| Download URL | mdtoreveal-0.4.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6994656ffed61229f39818347e81392f1ba87608699ff04e33ad8575ec1a21c4
|
|
BLAKE2b-256 checksum How to use checksums |
a6e89fbe12fdc2b10435765a6f031712024c53d282d50c3609267896a2031ad0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / mdtoreveal-0.4-py3-none-any.whl
| Download URL | mdtoreveal-0.4-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73b080dcfc294cd8d7e7231e290ddec76dbaa6f49b3100a45244c7c7eb7dc8da
|
|
BLAKE2b-256 checksum How to use checksums |
c6b5efb9f8414a57257787ea3430058892664f046b30ddfc1785b08ba462842f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for mdtoreveal 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.