rustyphoenixlecture 1.6.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 = []
# Vector of accepted filenames for highlithing this particular language
vec_filename = ["Dockerfile"]
# 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 = """
# Official images: https://github.com/prefix-dev/pixi-docker/blob/main/Dockerfile
# comment to trigger release of this repository with pixi 0.68.1
FROM ghcr.io/prefix-dev/pixi:0.68.1-bookworm-slim@sha256:4378be837a7b2e32a27e5434f50db367daf27e0cf010a28add66e85f4aabd833

# Configurable USER ID for non-root pixi user
ARG PIXI_USER=PIXI_USER
ARG PIXI_USER_ID=57440
ARG PIXI_GROUP=PIXI_GROUP
ARG PIXI_USER_GID=57440
# Transform the arguments into ENV variables that persists in image at run-time (and build using this image as base)
ENV PIXI_USER=${PIXI_USER}
ENV PIXI_USER_ID=${PIXI_USER_ID}
ENV PIXI_GROUP=${PIXI_GROUP}
ENV PIXI_USER_GID=${PIXI_USER_GID}

# Create the pixi user
RUN groupadd --gid ${PIXI_USER_GID} ${PIXI_GROUP}
RUN useradd --uid ${PIXI_USER_ID} --gid ${PIXI_USER_GID} --create-home ${PIXI_USER}

# Install curl and ca-certificates required when using rust and rust_src conda packages
RUN apt update && apt install --yes curl ca-certificates && apt clean --yes && apt autoremove --yes

# Become pixi user as default users of the container
USER ${PIXI_USER}
ENV PIXI_USER_HOME="/home/${PIXI_USER}"
ENV PATH="${PIXI_USER_HOME}/.pixi/bin:${PATH}"
"""

[[keyword]]
style = "dsKeyword"
vec_token = [
	"FROM",
	"SHELL",
	"ENV",
	"RUN",
	"ARG",
	"COPY",
	"CMD",
	"LABEL",
	"MAINTAINER",
	"EXPOSE",
	"ADD",
	"ENTRYPOINT",
	"VOLUME",
	"WORKDIR",
	"ONBUILD",
	"STOPSIGNAL",
	"HEALTHCHECK",
	"USER",
]
vec_match = []

[[keyword]]
style = "makeFunction"
vec_token = [
	"echo",
	"touch",
	"ls",
	"cd",
	"ln",
	"apt-get",
	"yum",
	"dnf",
	"apt",
	"debconf-set-selections",
]
vec_match = []

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


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


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


[[getuntil]]
style = "dsNumber"
start_token = "${"
end_token = "}"



[[sequence]]
style = "dsNumber"
vec_step = [
	{oneof = "1234567890"},
	{oneof = "lu"}
]