bugGNU source-highlight - Bugs: bug #63225, Additional mapping for spec.lang:...

 
 

bug #63225: Additional mapping for spec.lang: 'rpm-spec'

Submitter:  Frank Dana <ferdnyc>
Submitted:  Sun 16 Oct 2022 11:21:37 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 30 Jan 2023 01:33:37 AM UTC, comment #1: 

I added this to lang.spec.  Thank you.

Tom Tromey <tromey>
Group administrator
Sun 16 Oct 2022 11:21:37 PM UTC, original submission:  

With Fedora now using asciidoc as the source format for docs.fedoraproject.org, all of our .spec-file code blocks are tagged as 'rpm-spec' so that the syntax highlighter will pick them up.

When rendering documentation locally for testing/development purposes, `asciidoc.py` can use src-highlight to apply syntax highlighting to the code blocks. However, it doesn't recognize 'rpm-spec' as a valid format tag.

I'm submitting a change to our downstream packaging that will append the following line to lang.map:

rpm-spec = spec.lang

So I wanted to (as our packaging guidelines strongly recommend) provide notice of this local modification, so that it can be pushed upstream if possible.

Frank Dana <ferdnyc>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tromey (Posted a comment)
  • -email is unavailable- added by ferdnyc (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-30 tromey StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code