Crates.io | dash2html |
lib.rs | dash2html |
version | 1.1.0 |
source | src |
created_at | 2015-12-20 07:02:14.151152 |
updated_at | 2020-02-05 08:27:40.786629 |
description | Tool to generate a HTML page of Dash snippets so they can shared. |
homepage | |
repository | https://github.com/wezm/dash2html |
max_upload_size | |
id | 3711 |
size | 14,170 |
html2dash
is a tool that generates a HTML file from your Dash snippets.
dash2html
is written in Rust. If you don't already have the Rust toolchain
installed visit the Rust homepage and click the Install button.
Once you have Rust installed run the following to install the dash2html
tool:
cargo install dash2html
Ensure $HOME/.cargo/bin
is in your PATH.
dash2html
generates a HTML page that includes all snippets tagged with
public
tag. Run it as follows:
dash2html ~/Library/Application\ Support/Dash/library.dash > ~/Desktop/dash-snippets.html
Substitute the path to library.dash
with the location of your snippets
library if you have moved it in the Dash preferences. If you're unsure where
your snippets library is located check the Snippets tab in the Dash
preferences.