dartbook_theme_default 1.0.0 copy "dartbook_theme_default: ^1.0.0" to clipboard
dartbook_theme_default: ^1.0.0 copied to clipboard

A resource package just for building an ebook by `dartbook`. It could be added in `pubspec.yaml` as a dependency, also be run in command line.

example/example.md

run in command line #

dart pub global activate dartbook_theme_default
dir=$(dartbook-theme --location)
dartbook build book-src book-static --theme $dir

Of course, dartbook_theme_default could be replaced by dartbook_theme_xxx, which is developed by yourself!

added as a dependency #

dart pub add dartbook_theme_default

and in your code:

import 'package:dartbook_theme_default/dartbook_theme_default.dart' as t;

final assetRoot = await t.fsLocation();
applyTheme(assetRoot);
0
likes
140
pub points
0%
popularity

Publisher

unverified uploader

A resource package just for building an ebook by `dartbook`. It could be added in `pubspec.yaml` as a dependency, also be run in command line.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

More

Packages that depend on dartbook_theme_default