Git Product home page Git Product logo

rockyraccoon's Introduction

Rocky Raccoon

A static website generator using Python

Python3 is a tool that can be used to generate static web pages, given markdown-like files as input

Disclaimer: Rocky Raccoon is not by any means a serious project and was created solely for educational purposes. It is not fit to use on real projects and its code is very messy and redundant. A better version of Rocky Raccoon is being created and should be published here as soon as I get a good grip of RegEx and invent a cool name.

Usage

Clone this repo. Create or edit templates in the input/templates folder. The template can be any piece of HTML, and should have <!--TITLE--> and <!--CONTENT--> where the title and content of the article should be respectively.

Create a file with of .qmd filetype with the following structure:

EXTENDS [name of the temaplate without '.html']
TITLE [title of the current page]
TAGS [all of the page tags separated by spaces]

# Heading 1
## Heading 2
### Heading 3

@ Comment

=
Paragraph
This will be on the same line as the line above
=

IMAGE image.source.com

Then, just cd to 'src/' and run the 'raccoon.py' file, the output will be in the 'output/' folder.

rockyraccoon's People

Contributors

qrno avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.