Skip to content

A playground for testing PML stylesheets, created by Tristano Ajmone

License

Notifications You must be signed in to change notification settings

pml-lang/pml-css-playground

 
 

Repository files navigation

PML CSS Playground

PML Version  Ruby  Dart Sass  MIT License 

A playground for testing PML stylesheets.


Table of Contents


Project Structure

About

The goal of this repository is to explore alternative stylesheets for PML, the Practical Markup Language lightweight syntax by Christian Neumanns.

I had attempted a similar project before, as part of the PML Playground project, which included a stylesheets sub-project (among others), but it soon became too cumbersome to maintain a single shared build script for all its projects, especially due to the frequent breaking changes of PML updates. Also, many of the sub-projects in the PML Playground have gone stale, for one reason or another.

So I've now moved the old PML Style Sheets project to this new dedicated repository, which will replace it entirely.

The Themes

  • /css__*/

Every folder with a name starting in css__ is treated as a "theme" by the Rakefile, which will automatically handle its build, provided that the theme contains a Sass/SCSS source named sass/styles.scss, which Rake will compile to css/styles.css.

For each theme, every shared sample document from the /samples/ folder will be converted to HTML in the theme root folder, using the theme stylesheet.

Any *.pml document present in the theme folder will also be converted to HTML in place.

Why Themes Instead of Stylesheets?