PHP Classes

File: mk-html.sh

Recommend this page to a friend!
  Classes of Barton Phillips   MySQL Slideshow   mk-html.sh   Download  
File: mk-html.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: MySQL Slideshow
Present slideshow from images listed in a database
Author: By
Last change:
Date: 1 year ago
Size: 394 bytes
 

Contents

Class file image Download
#!/bin/bash # !!! You need pandoc: sudo apt-get install pandoc css=' <style> div.sourceCode { background-color: #EEF3E2; border-left: 10px solid gray; padding-left: 5px; } code { background-color: #EEF3E2; } </style> '; # Make .html files from .md files pagetitle="Main Readme file"; /usr/bin/pandoc -Vpagetitle="$pagetitle" -Vmath="$css" -s -f gfm -t html5 README.md -o README.html