Skip to content

Instantly share code, notes, and snippets.

@dimiro1
Last active December 31, 2015 19:28
Show Gist options
  • Save dimiro1/8033309 to your computer and use it in GitHub Desktop.
Save dimiro1/8033309 to your computer and use it in GitHub Desktop.
Sugestão Linguagem de Marcação Pedro
------------------------ EXEMPLO 1 -----------------------
Hello World.
World {
font-style: bold;
color: green;
}
------------------------ EXEMPLO 2 -----------------------
Markpat
On Markpat, the user writes your text without convention to follow. And write it on best way to read on plain text mode.
But keep in mind that is good organize the text adopting patterns, because Markpat use regex* to localize data.
* Regular Expressions: http://en.wikipedia.org/wiki/Regular_expression
# No titulo
Markpat\n {
tag: 'h1';
}
# No Texto
Markpat {
tag: 'b';
}
# Expressão Regular
(^http.+) {
color: blue;
}
@dimiro1
Copy link
Author

dimiro1 commented Dec 19, 2013

A ideia é que qualquer palavra, expressão possa ser uma TAG de estilização.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment