To my knowledge there is no such macro (at least not for AsciiDoc Py). You
could create one, though.

We are constantly experimenting with custom macros and other extensions for
Asciidoctor in this repository:
https://github.com/asciidoctor/asciidoctor-extensions-lab Feel free to
propose an issue and the community might help put one together.

Best Regards,

-Dan

On Mon, Oct 15, 2018 at 2:28 AM rdp via asciidoc <[email protected]>
wrote:

> Hi Lex
>
> Thank you for studying my question.
> I already tried to give a working example :-), I try to write it in
> another way:
>
> If my AsciiDoc source has this:
> link:Doc/Manual.asciidoc
> it will build this URL:
> https://gitlab.com/usr/prj/blob/master/Doc/Manual.asciidoc
>
> Now, I search for a macro which modifies the URL and replaces /blob/ by
> /raw/
> Therefore I hope that there is a Text Search Replace AsciiDoc-Macro, e.g.:
>
> Replace:Link:Doc/Manual.asciidoc[search=/blob/;replace=/raw/]
> it will build this URL:
> https://gitlab.com/usr/prj/raw/master/Doc/Manual.asciidoc
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to