Last active
December 31, 2015 19:28
-
-
Save dimiro1/8033309 to your computer and use it in GitHub Desktop.
Sugestão Linguagem de Marcação Pedro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------ 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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A ideia é que qualquer palavra, expressão possa ser uma TAG de estilização.