Last active
July 31, 2018 21:02
-
-
Save LeFreq/beb1bd7cebd1e2a47a68 to your computer and use it in GitHub Desktop.
markup to end all markups
This file contains hidden or 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
Proposed "Creole" for web markup (html, giteditors, etc). v1.x | |
<CR> sufficient and necessary for line-break (no separate LF) | |
nested, multi-emphasized text should be stack-based (reverse-ordered)? | |
where start and end syntax are the same they are noted by no adjacent inner spaces. | |
BEGINBEGINBEGIN | |
*bold* | |
/italics/ /*bold and italics*/ | |
_underlined_ | |
!blinking text! (e.g. warnings) | |
"regular in-line quotes" | |
"""set-off quotes""" (line break + indent) (needed?) | |
'fixed-width text' | |
{wiki commands/templates} | |
`annotation` (`where's the citation?`) | |
$math markup$ (LaTex) | |
(arbitrary, groupings) | |
{{function($a,$b,$c):{code=0};}} (e.g. code to send to JVM, function name/site cached, variables from $variables??) | |
[[intrawiki link|text]] ///must use double-squares to allow for legit use of brackets | |
[[wikiname:interwiki link|text]] | |
<http://weblink text> | |
=Title=, ==heading1==, ===subheading2===, ====subsubheadin3==== | |
-centered text- -=CENTERED HEADING=- | |
:indent (only at line beginning, otherwise ignore) | |
$variable (assignment from field) | |
$name=[[[optional text in box]]] | |
$slotvalue=[[[option1,option2,option3]]] | |
//annotation (replace Talk pages?) ///reply to annotation (automatically signs with username or (anonymous)) | |
==== (major horizontal rule) | |
---- (minor horizontal rule) | |
^superscript (space ends the superscript) ex ^[ref:] | |
~~~~ (shortcut for signature) | |
*bullet point **subbullet ***subbullet (multiple * INDENTs) | |
#numbereditem1 ##subnumbereditem2 (multiple # INDENTs) | |
@username | |
%columnar%items%%forwhatevesr% (note use of doubled %% to make a doubled rule, present of such will always make a left-aligned column, favoring rhs of page) | |
<table> || { standard { Heading1 |-width0.5| Heading2 |width0.3| Heading3 } 5% {r1c1 | (follows first row)r1c2 | r1c3} } (tuble, of, indefinite, variable, list) </table> | |
\\\NOTE: above syntax after <table> gives shorthand for double-box or single-box around the table. {"standard" refers to a character-font size for any other non-determined measures} data inbetween curly-brackets are width variable - a %age of column width otherwise || verticle bars indicate horizontal lines between rows (when outside {row brackets}) | |
&mimeid:UUencoded string& (enclosing pictures and arbitrary, non-textual data) ex. -&uucodedpicture&- centered picture | |
&&&escapecode for enclosing above characters as regular text&&& |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment