Giter Site home page Giter Site logo

zoomrmc / hastyscribe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from h3rald/hastyscribe

0.0 1.0 0.0 10.67 MB

Self-contained markdown compiler generating self-contained HTML documents

Home Page: https://h3rald.com/hastyscribe

License: MIT License

Nim 60.65% CSS 39.35%

hastyscribe's Introduction

Nimble

release license

HastyScribe

HastyScribe is a simple command-line program able to convert markdown files into HTML files.

Usage

hastyscribe [ options ] filename-or-glob-expression ...

Where:

  • filename-or-glob-expression is a valid markdown file or glob expression that will be compiled into HTML. Multiple files and/or globs are supported.
  • The following options are supported:
    • --output-file= causes HastyScribe to write output to a local file (Use --output-file=- to output to standard output).
    • --output-dir= or -d= allow you to specify an output directory for the generated HTML files. When used, it will override the --output-file option. Please note that this option does not preserve the input directory structure (that, for example, can be observed while traversing glob patterns); all output files will be placed directly in the specified directory.
    • --field/= causes HastyScribe to define custom field and set it to a specific value.
    • --user-css= causes HastyScribe to insert the contents of the specified local file as a CSS stylesheet.
    • --user-js= causes HastyScribe to insert the contents of the specified local file as a Javascript script.
    • --watermark= causes HastyScribe to embed and display an image as a watermark throughout the document.
    • --notoc causes HastyScribe to output HTML documents without automatically generating a Table of Contents at the start.
    • --noembed causes styles and images not to be embedded.
    • --fragment causes HastyScribe to output just an HTML fragment instead of a full document, without embedding any image, font or stylesheet.
    • --iso enables HastyScribe to use the ISO 8601 date format (e.g., 2000-12-31) in the footer of the generated HTML documents.
    • --no-clobber or -n prevents HastyScribe from overwriting existing files. If a file with the same name already exists, HastyScribe will issue a warning and will not overwrite it.
    • --help causes HastyScribe to display the usage information and quit.

โ†’ For more information, see the HastyScribe User Guide

hastyscribe's People

Contributors

h3rald avatar zoomrmc avatar philip-wernersbach avatar schmich avatar diogenesoftoronto avatar ap0state avatar celtic-coder 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.