question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add ability to remove protocol from URL

See original GitHub issue

Is your feature request related to a problem? Please describe.

MLA Handbook 8th edition says in 2.5.2 URLs and DOIs:

When giving a URL, copy it in full from your Web browser, but omit http:// or https://.

but modern-language-association.csl can only copy the URL that is given as argument.

see

Describe the solution you’d like

Add an npurl to the list of link renderings:

https://github.com/citation-style-language/documentation/blob/master/specification.rst#appendix-vi-links

that would remove the protocol from a url

For changes to the CSL RNC schemas, this should include links to citation style guides. It’s better to include links to more than one style guide, and no more than five, for us to assess how widely needed this feature might be.

MLA Handbook 8th edition (published book, not openly available online)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:16 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
bdarcuscommented, Aug 23, 2021

How would that look like?

What I was asking about earlier was a likely a global boolean.

<style url-format="strip-protocol">
1reaction
bdarcuscommented, Aug 23, 2021

I can bang out a proper issue for that if you want and discuss there.

I think we should just remove that part. Maybe a PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to remove 'http://' from a URL in JavaScript [duplicate]
I think it would be better to take into account all possible protocols. result = url.replace(/(^\w+:|^)\/\//, '');.
Read more >
How to remove an URL protocol default handler
Using RCDefaultApp, I'm able to change (or disable) the URL handler, but not to remove the protocol from the list. I was wondering...
Read more >
Remove protocol information from URL in biblatex
I want to streamline my bibliography by removing the protocol information ( http:// and https:// ) from the printed version of the URL...
Read more >
Removing https:// or http:// from a given url to just return rest
In my app I need to store the URL without the http:// or https:// ... your users the ability to add, modify, and...
Read more >
Remove protocol name from website link - command line
I have a list of n number (n is known) of URLs. How can I remove the protocol name from the URL? Eg...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found