This PR enables syntax-highlighting of .spec file snippets in the main packaging-guidelines document by tagging 50 example specfile source blocks as code in the rpm-spec language.
(It also...):
adds the %changelog marker at the start of all of the example changelog entries, to give the highlighting parser a fighting chance
makes one block of example source a child element of the <ol> list item it follows, for proper indenting
This should be safe to apply, and simply have no immediate effect, in the production environment. Code blocks tagged with an unrecognized highlighting format will simply be displayed un-highlighted, same as if they were untagged.
@darknao has kindly enabled specfile syntax-highlighting in staging, but to see its effects we need some code blocks tagged as containing specfile source code.
This PR enables syntax-highlighting of
.specfile snippets in the main packaging-guidelines document by tagging 50 example specfile source blocks as code in therpm-speclanguage.(It also...):
%changelogmarker at the start of all of the example changelog entries, to give the highlighting parser a fighting chance<ol>list item it follows, for proper indentingThis should be safe to apply, and simply have no immediate effect, in the production environment. Code blocks tagged with an unrecognized highlighting format will simply be displayed un-highlighted, same as if they were untagged.