rustyphoenixlecture 1.0.0

This project aims to provide a simple a powerfull lecture compilation to generate html web sites

[highlighting]
# Do we want line numbers
is_line_number = true
# Plain text identifier
token_charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"
# Vector of accepted extensions
vec_extention = ["dot"]
# Vector of accepted filenames for highlithing this particular language
vec_filename = []
# Definition of a single line comment
single_line_comment = "//"
# Beginning of a multi-line comment
multi_line_comment_begin = "/*"
# Ending of a multi-line comment
multi_line_comment_end = "*/"
# If the language has an escape char
is_escape_char = true
# Some example of the language to be parsed
example = """
// dot -Tpng -o graph.png graph.dot

digraph G{
	//First we write all nodes
	C[label="C"][color="blue"][shape=record];
	D[label="D"][color="blue"][shape=record];
	A[label="A"][color="blue"][shape=record];
	B[label="B"][color="blue"][shape=record];
	//Then, all their connections
	C -> A;
	D -> C;
	D -> B;
	B -> A;
}
"""

[[keyword]]
style = "dsKeyword"
vec_token = [
	"label",
	"shape",
	"color",
	"fontcolor",
	"style",
	"fillcolor",
]
vec_match = []

[[keyword]]
style = "dotGraph"
vec_token = [
	"digraph",
	"subgraph",
]
vec_match = [
	"->",
	"<-"
]

[[keyword]]
style = "dotIdentifer"
vec_token = [
	"blue",
	"white",
	"purple",
	"red",
	"lightblue",
	"green",
	"black",
	"pink",
	"record",
	"polygon",
	"triangle",
	"solid",
	"filled",
	"diamond",
]
vec_match = []

[[getuntil]]
style = "dsString"
start_token = "\""
end_token = "\""


[[getuntil]]
style = "dsChar"
start_token = "'"
end_token = "'"


[[getuntil]]
style = "dsCommentMono"
start_token = "//"
end_token = "\n"


[[getuntil]]
style = "dsCommentMulti"
start_token = "/*"
end_token = "*/"