Rouge: should be more clear how to change Rouge attributes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Rouge: should be more clear how to change Rouge attributes

hyperscope
On this page https://docs.asciidoctor.org/asciidoctor/latest/syntax-highlighting/rouge/ it is not quite clear how to change the rouge attributes, especially the rouge style.  
Reply | Threaded
Open this post in threaded view
|

Re: Rouge: should be more clear how to change Rouge attributes

mojavelinux
Administrator
Check the page again ;)

If you have a specific question, feel free to ask. If you know of a better way to explain it, I encourage you to click "Edit this Page" and submit a suggestion.

Best Regards,

-Dan

On Mon, May 3, 2021 at 3:20 PM hyperscope [via Asciidoctor :: Discussion] <[hidden email]> wrote:
On this page https://docs.asciidoctor.org/asciidoctor/latest/syntax-highlighting/rouge/ it is not quite clear how to change the rouge attributes, especially the rouge style.  


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Rouge-should-be-more-clear-how-to-change-Rouge-attributes-tp8612.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: Rouge: should be more clear how to change Rouge attributes

Alexander Schwartz
In reply to this post by hyperscope
@hyperscope: to be a bit more explicit about the ":)" in Dan's previous reply:  Dan has updated the documentation on the page you referenced. It now contains more content about how rouge styling works.

https://github.com/asciidoctor/asciidoctor/commit/96986cfb89c2b68c263eade17bd4d86d684077d3
Alexander Schwartz (alexander.schwartz@gmx.net)
https://www.ahus1.de
Reply | Threaded
Open this post in threaded view
|

Re: Rouge: should be more clear how to change Rouge attributes

hyperscope
Yes, thank you.
 
  As I don't like switching to WWW pages for reference, I have prepared
  convenient Emacs Lisp function to insert `rouge` attributes:
 
https://hyperscope.link/3/7/1/5/8/Convenient-Emacs-Lisp-functions-for-Asciidoctor-37158.html
Reply | Threaded
Open this post in threaded view
|

Re: Rouge: should be more clear how to change Rouge attributes

mojavelinux
Administrator
Nice trick.

I agree it would be nice if rougify listed the theme names, as requested here: https://github.com/rouge-ruby/rouge/issues/720 Unfortunately, it was closed due to inactivity.

Best Regards,

-Dan

On Tue, May 4, 2021 at 1:22 AM hyperscope [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Yes, thank you.
 
  As I don't like switching to WWW pages for reference, I have prepared
  convenient Emacs Lisp function to insert `rouge` attributes:
 
https://hyperscope.link/3/7/1/5/8/Convenient-Emacs-Lisp-functions-for-Asciidoctor-37158.html



If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Rouge-should-be-more-clear-how-to-change-Rouge-attributes-tp8612p8616.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux