🌈 A better way to use HTML.
JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
dist
.gitignore
.travis.yml
LICENSE
README.md
bower.json
gulpfile.js
package.json

README.md

Custom-Markup

Build Status License: MIT Join the chat at https://gitter.im/Custom-Markup/Lobby CDNJS npm version Bower version

NPM

A Better Way To Use HTML

Table of contents:

About

Custom Markup is a simple, lightweight HTML framework. With Custom Markup, you can customize your webpage without writing messy code. Just link it and your all set. Just read a bit about it though.

View this on Betapage!

Changelog

  • 16/2/17 Added CDN
  • 1/2/17 Added <island> and <typewriter> tags, Update Issue Template and created Pull request template
  • 1/31/17 Added <poster> tag, got Travis CI, Bower, and Git Checkout (Check the docs)
  • 1/30/17 Moved website a different repo
  • 1/26/17 Changed background on homepage to gradient
  • 1/24/17 Got NPM and updated README.md (this) several times
  • 1/23/17 Added 'Follow on GitHub' buttons for @talonbragg and @PenetratingShot, Merged Pull request

Javascript

// Use this if you have the npm or bower version of CM installed
require('custommarkup');
// If you have the direct link you don't need *require('custommarkup');*
var create = document.createElement('rainbow'); //Use any of the CM tags
var textnode = document.createTextNode('Hi this is a demonstration of the rainbow tag');
// Area to put the rainbow tag
var area = document.getElementById('area');
//Appending the text to the element and the element to the area
create.appendChild(textnode);
area.appendChild(create);

Documentation

Direct Link: Add this to your <head> tag:

<link rel="stylesheet" href="https://custommarkup.ml/dist/cm.min.css">

CDN: Add this to your <head> tag:

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/custommarkup/1.1.12/cm.min.css" />

Npm:

$ npm install --save custommarkup 

Bower:

$ bower install --save custommarkup

Git Clone:

$ git clone https://github.com/talonbragg/Custom-Markup.git

Browser Support

Chrome: 4+

Edge: 12+

Firefox: 2+

IE: 9+

Opera: 9+

Safari: 3.1+

Tags

<c-r>

<c-g>

<c-b>

<c-o>

<c-y>

<c-i>

<c-v>

<bg-r>

<bg-g>

<bg-b>

<bg-o>

<bg-y>

<bg-i>

<bg-v>

<awesome>

<cool>

<nice>

<insane>

<beautiful>

<old>

<container>

<cursive>

<eight-bit>

<silhouette>

<poster>

<rainbow>

<island>

<typewriter>

<ghl-s>

Classes

.sm is Small

.med is Medium

.bg is Large

License and Copyright

Licensed under the MIT License

©️ 2017 Talon Bragg

forthebadge forthebadge