Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support links to be opened in another tab #9

Closed
liulex opened this issue Nov 29, 2016 · 2 comments
Closed

Support links to be opened in another tab #9

liulex opened this issue Nov 29, 2016 · 2 comments

Comments

@liulex
Copy link
Contributor

liulex commented Nov 29, 2016

Sometimes we need some of the links to be opened in another browser tab, i.e. with target="_blank".

@QingWei-Li
Copy link
Member

Which links?

@liulex
Copy link
Contributor Author

liulex commented Nov 29, 2016

For example, it's better to open links like [Issues](https://github.com/QingWei-Li/docsify/issues) in a new tab, so that the documention site is not replaced.

In the content, we are able to do this by using html:

<a href="https://github.com/QingWei-Li/docsify/issues" target="_blank">Issues</a>

But in the _sidebar.md, we cannot do this.

Oops, I just find out that in _sidebar.md, such code is also supported: 👍

  - <a href="https://github.com/QingWei-Li/docsify/issues" target="_blank">Issues</a>

I guess I have no problem then. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants