ooblatron/bootdown

Create quick and simple websites rendered in Bootstrap using just markdown files

1.1.3 2022-12-09 14:52 UTC

This package is auto-updated.

Last update: 2024-04-11 15:45:37 UTC


README

Bootdown allows you to create quick and simple websites with Bootstrap styling using just Markdown files

Installation

Install the latest version with

composer create-project ooblatron/bootdown-site .

Point your web hosting root to html.

Basic Usage

Add new pages by uploading Markdown documents to the docs directory and then mapping them to a URL by changing the config/Map.php file.

For example

  1. Upload a Markdown document called world.md to the docs directory
  2. Add the following line to config/Maps.php
    'hello'  => 'world.md'

Going to https://yourdomain.com/hello will display the contents of world.md with Bootstrap styling.

You will probably prefer to have the name of the Markdown file match the URL path but, as the example shows, you do not have to.

You can also map to Markdown files in subdirectories, for example

    'hello'  => 'greetings/world.md'

This displays the Markdown file docs/greetings/world.md when visiting https://yourdomain.com/hello.

How to use Markdown

Please refer to the Markdown Guide if you need help with formatting documents.

More information

Documentation

About

Requirements

Bootstrap versions

Version 1 of Bootdown supports Bootstrap 4.

Author

Tim Rogers - tim@ooblatron.org - https://twitter.com/timdrogers

License

Bootdown is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

This package uses the brilliant Bootstrap framework, which allows back-end coders to create clean and professional web pages without needing a deep knowledge of graphic design or CSS.

The graphics used to display HTTP error codes are from Laravel version 5.7.

The .htaccess syntax was taken from a Stackoverflow answer provided by user jacoz.