LEOWebPageInstructionsGeneric

Includes:
<stdio.h>
"LEOWebPageInstructionsGeneric.h"
"LEOInterpreter.h"
"LEOScript.h"
"UTF8UTF32Utilities.h"
<string.h>
<stdlib.h>
<string>
"tinymarkdown.hpp"

Introduction

Generic implementation of web page generator mode instructions. Should work on all ANSI C++ systems.



Functions

LEOHTMLEncodedInstruction
LEOMarkdownToHTMLInstruction

LEOHTMLEncodedInstruction


Discussion

Pop a string off the stack and return a version with all HTML-unsafe characters escaped as entities. I.e. replace < and > and & with &lt; and &gt; and &amp;. (LEO_HTML_ENCODED_INSTR)


LEOMarkdownToHTMLInstruction


Discussion

Pop a string containing Markdown-formatted text off the stack and return an HTMLversion. (LEO_MARKDOWN_TO_HTML_INSTR)