PHP code example of plhw / hf-bookdown-template

1. Go to this page and download the library: Download plhw/hf-bookdown-template library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

plhw / hf-bookdown-template example snippets


{
    ...
    "template": "../vendor/tobiju/bookdown-bootswatch-templates/templates/main.php"
}
console
$ export CSS_BOOTSWATCH=superhero && export CSS_PRISM=coy && php ./vendor/bin/bookdown doc/bookdown.json
$ php -S 0.0.0.0:8080 -t doc/html/