Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub flavored markdown for non http scheme links

Is it possible to create a link to a scheme other than http://

For example, I'm trying to create a link for an Adblocker filter. I was hoping this would work but it doesn't

[Subscribe](abp:subscribe?location=http%3A%2F%2Fraw2.github.com%2Filyakatz%2Fadblock_filters%2Fmaster%2Finpage_popups.txt&title=Inpage%20popups%20filter)

Is it even possible to do? If so, how?

Thanks

like image 682
katzmopolitan Avatar asked Mar 02 '14 18:03

katzmopolitan


People also ask

What GitHub Flavored Markdown is and how it is used?

GitHub Flavored Markdown, often shortened as GFM, is the dialect of Markdown that is currently supported for user content on GitHub.com and GitHub Enterprise. This formal specification, based on the CommonMark Spec, defines the syntax and semantics of this dialect. GFM is a strict superset of CommonMark.

Does GitHub markdown support HTML?

Wherever HTML is rendered on GitHub (gists, README files in repos, comments on issues and pull requests, ...) you can use any of the HTML elements that GitHub Flavored Markdown (GFM) provides syntactic sugar for.

How do I add a link to a readme in GitHub?

Links. You can create an inline link by wrapping link text in brackets [ ] , and then wrapping the URL in parentheses ( ) . You can also use the keyboard shortcut Command + K to create a link.


1 Answers

You can use https://subscribe.adblockplus.org/ instead of abp:subscribe:

[subscribe](https://subscribe.adblockplus.org/?location=http%3A%2F%2Fraw2.github.com%2Filyakatz%2Fadblock_filters%2Fmaster%2Finpage_popups.txt&title=Inpage%20popups%20filter)

Also it works here, on StackOverflow: subscribe.

By the way, your link is broken - the correct one is https://raw.githubusercontent.com/ilyakatz/adblock_filters/master/inpage_popups.txt

like image 124
hant0508 Avatar answered Sep 26 '22 15:09

hant0508