This is a follow-up issue of #2893855: Add support for asciidoctor.

Support for asciidoctor command was added in the issue above. But currently asciidoctor command is used only if asciidoc command is not available. Site admins cannot select which command to use among them.

It would be better if site admins can select the command used for each filter if the server provides 2 commands: asciidoc and asciidoctor.

Comments

hgoto created an issue. See original summary.

hgoto’s picture

Status: Active » Needs review
StatusFileSize
new4.28 KB
new43.27 KB
new34.21 KB

Here is a patch and captures after the patch is applied.

In the patch, I also tried to organize the methods of Asciidoc. I changed the static method to a instance method and changed the visibility. I'd like this to be reviewed :)

hgoto’s picture

  • marvil07 committed 9683fe6 on 8.x-1.x authored by hgoto
    Issue #2895609 by hgoto: Add filter configuration to select which...
marvil07’s picture

Status: Needs review » Fixed

Thanks for the patch!

I have just changed the order of the methods to move getAsciidoc() back to the top, which reduces the diff.

Code is now part of 8.x-1.x.

I will be realising a new version tomorrow.

@hgoto If you are interested, I can give you access to the repository and you can become co-maintainer.

hgoto’s picture

Thanks!

And thank you for your suggestion. I'd like to be a co-maintainer if you don't mind :)

marvil07’s picture

@hgoto, you now have maintainer access to the project, welcome!

BTW I did a new point release containing latest changes, 8.x-1.1.

hgoto’s picture

@marvil07, thank you very much!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.