GithubHelp home page GithubHelp logo

hari-vickey / mdbook-themes Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 355 KB

Additional mdBook Themes for e-Yantra.

License: MIT License

JavaScript 37.48% CSS 39.02% Handlebars 23.49%
e-yantra mdbook mdbook-themes

mdbook-themes's Introduction

mdbook_themes

This repository contains all common themes from the official mdbook developers along with some other hand crafted themes.

Another advantage of using this repository is that when some new themes are added/updated or some bugs/glitches in the theme is fixed. It can be easily tracked and updated.

Available Themes

  • Space

  • Game [coming soon ..]

Usage

  1. Make this repository as git submodule by using the following command.

    git submodule add https://github.com/hari-vickey/mdbook-themes.git

  2. Open book.toml and change the following theme value to the folder/sub-repository name. Change the default-theme to your favourite theme.

    [output.html]
    theme = "mdbook-themes"
    default-theme = "space"
    
  3. Now, you are free to delete previous theme directory.

  4. Build the mdbook using mdbook build and see the changes.

    Pro: mdbook serve --open can be used to build and track changes automatically. Saves one commnad to type :P .

Create/Modify Theme

  • To change the header, modify the header.hbs file

  • To change the styling, modify variables.css file

  • To add functionalities, modify book.js (carefully)

Feel free to create/update themes and add a pull request.

mdbook-themes's People

Contributors

hari-vickey avatar

Watchers

 avatar

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.