rpm-spec syntax highlighting for:
rpm-spec
Not included (Moved):
6 new commits added
TmpFiles: Tag specfile blocks as rpm-spec
CronFiles: Tag specfile blocks as rpm-spec
Conflicts: Tag specfile blocks as rpm-spec
CMake: Tag specfile blocks as rpm-spec
Filtering: Tag specfile code blocks as rpm-spec
Alternatives: Tag specfile code blocks as rpm-spec
Actually, since I have #1268 open which makes major changes to the Web Assets doc, i moved the syntax highlighting changes over there as well, to avoid conflicts.
I was unaware that we actually had specfile syntax highlighting available, as we didn't originally. Seems reasonable to me that we should be trying to use it where possible.
rebased onto 7c35b1f653a16f3b246f3d5f064e0c29758dd3d9
Pull-Request has been merged by tibbs
@tibbs
I was unaware that we actually had specfile syntax highlighting available, as we didn't originally.
Yeah, it was a late addition; highlight.js doesn't have native support, but I tracked down a plugin which @darknao was nice enough to integrate into the Docs templates... almost exactly a year ago, looks like.
highlight.js
It's slightly imperfect, in non-catastrophic ways...
%ifarch
%if
arch
But overall it mostly works, and it's a lot more comfortable than reading seas of black/white monospace text.
rpm-specsyntax highlighting for:Not included (Moved):