robinst / autolink-java

Java library to extract links (URLs, email addresses) from plain text; fast, small and smart
MIT License
207 stars 40 forks source link

Creole links contain the link text as well #27

Closed moltam89 closed 5 years ago

moltam89 commented 6 years ago

Hello,

with creole type links, the link contains the link text as well.

Here is the creole format: [[link_address|link text]]

e.g. [[http://www.google.com/|this is a link to google]]

In this case, the link will be http://www.google.com/|this

Thanks, Tamás

robinst commented 5 years ago

Hey! Sounds like you'd want a creole parser instead?

Even if we stopped parsing at |, you'd still need to manually parse the [[ and the link text..

moltam89 commented 5 years ago

Thank you @robinst !