% přesunout do ~/texexamples/packages
\documentclass[a4page]{ltxdoc}
\usepackage{luatex85}
\usepackage[top=2cm, left=2.5cm, right=2.5cm,bottom=3cm]{geometry}
\usepackage[english]{babel}
\usepackage[asterism]{sectionbreak}
\usepackage[definitionLists=true,hybrid=true]{markdown}
\usepackage{fontspec}
\usepackage{luatexbase} % because of Microtype error: https://tex.stackexchange.com/a/476742/2891
\usepackage{microtype}
\usepackage{hyperref}
\usepackage{lipsum}
\setmainfont{TeX Gyre Schola}
\setmonofont{Inconsolatazi4}[Scale=MatchLowercase]
\ifdefined\version\else\def\version{undefined}\fi
\ifdefined\gitdate\else\def\gitdate{undefined}\fi
\begin{document}
\title{The \texttt{sectionbreak} package\footnote{Version \version}}
\author{Michal Hoftich}
\date{\gitdate}
\maketitle
\tableofcontents
\markdownInput{README.md}
\section{Changelog}
\markdownInput{CHANGELOG.md}
% \lipsum[1-3]

% \sectionbreak[!!!]

% \lipsum[5-7]

% \sectionbreak

% \lipsum[1-2]
% \sectionbreakmark{\rule{10em}{3pt}}
% \sectionbreak

% \lipsum[6-8]
\end{document}