Package: hamill
HamillA simple lightweight markup language. Its default implementation is written in Python 3.Comments, HR and BR§§ This is a commentComment can be exported with the variableEXPORT_COMMENTset to true.You can put a new line (br) with!!surrounded by one space on each side.You can put a line (hr) with a line with only three or more - on it :---.TitlesStart your titles with the number of#equivalent to the title level.Text modificationsSurround your word with**for boldSurround your word with''for italicSurround your word with--for strikethroughSurround your word with__for underlineSurround your word with^^for superscriptDiv, p and spanUse{{#id .class}}alone on a line to define a div  with the given id and/or class. Use {{end}} to close it.Use{{#id .class}}on a line with text to define a paragraph with the given id and/or class.Use{{#id .class content}}in a text to define a span with the given id and/or class.CodeSurround your code with@@in a text for inlince code. Hamill can colorize Python and JSON.Specify the language right after the opening@@.For a code bloc, you can either do :a opening line with@@languagethen each line must start by@@(without closing)a opening line with@@@languagethen each line can start freely but you must close the bloc by a line with only @@@ on itListUse*at a start of line followed by a space for an unordered listUse%or+at a start of line followed by a space for an ordered list, ascendingUse-at a start of line followed by a space  for an ordered list, descendingYou can have multiple level of lists by chaining starter symbols like :* * * itemUse|for continuing a previous itemDefinition listUse$at a start of line followed by a space for the definition termThe following line must start by blank spaces for the definitionTablesUse|to limit your table and its columnsFor creating a header line, put after the title line a|-------|lineText modifiers, images and links can be put in a tableLIMITATION: For now, lists can't be put in a tableLinksUse surrounding[ ]for a simple URL linkUse[ link_name -> link ]for a link with a name different of the link itselfIf link is equal to#, Hamill will search if it can find a corresponding inner links and put it hereInner links are created by the syntax[#...]and automatically for title with space are replaced by - and put in lowercaseIf link is not an URL, nor #, Hamill will search if it can find in the library of linksAn item of the library of links is defined by putting at the start of line[ ... ]: URLImagesUse[! ... ]You can define a default directory where to find the images with the variableDEFAULT_FIND_IMAGEConstantsYou can define the value of the one of the 6 constants by starting a line with!constthen the constant identifier then = and the valueYou can have multiple value definition but only the last will be taken into accountA constant value can't change during the process of emitting HTMLThe 6 constants :TITLEto define the title of the pageICONto define an icon for the pageLANGto define the lang of the page (default : en)ENCODINGto define the encoding of the page (default : utf-8)BODY_CLASSto define the class of the bodyBODY_IDto define the ID of the bodyVariablesYou can define the value of the variables by staring a line with!varthen the variable identifier then = and the valueA variable value can change through the process of emitting HTMLEXPORT_COMMENT=true/falsespecify if entire comment lines must be emitted in HTMLPARAGRAPH_DEFINITION=true/falsespecify if definitions of a definition list must be put in paragraph (p)DEFAULT_CODE=python/jsondefine the language of the code by default (plain text by default)NEXT_PAR_ID=idsspecify the ID of the next paragraphNEXT_PAR_CLASS=clsspecify the class of the next paragraphDEFAULT_PAR_CLASS=clsspecify the default class of the paragraphesDEFAULT_FIND_IMAGE=pathspecifiy a default directory where to find the included imagesInclusion of HTML filesStart a line with!includefor emitting the content of an HTML file directly into your productionLinks to CSS and JavaScript filesStart a line with!requirefor linking your production to a given CSS or JavaScript file.The CSS link will be put in the headThe JavaScript link will be put where Hamill found the !requireLIMITATION: For now, there is now to put a JavaScript link into the headSpecialStart a line with!cssfor emitting raw CSS code which will be put in the headStart a line with!htmlfor emitting raw HTML code in place