Comments (1)
I added a external.js
as follows:
function externalLinks() { for(var c = document.getElementsByTagName("a"), a = 0;a < c.length;a++) { var b = c[a]; b.getAttribute("href") && b.hostname !== location.hostname && (b.target = "_blank") } } ; externalLinks();
save it in /theme/external.js
and call it in the main go
from allmark.
Related Issues (20)
- add support for linking to md files HOT 2
- Syntax error: newline unexpected HOT 3
- Fix Dockerfile so it can be build from the working directory.
- The windows platform downloads "dont work" HOT 1
- Update the documentation
- HTML rendering of children items is fixed
- Missing a browserEnabled flag
- Have a floating sidebar while scrolling
- Search does not index strings inside markdown code spans
- Can't build from source HOT 8
- The link for Linux is broken on the Readme page HOT 3
- Missing parts in documentation HOT 1
- Memory consumption is too high
- allmark.io SSL cert expired
- Reserved name error.
- Add support for context path
- Error installing on Ubuntu 16.04.6 HOT 1
- 404 error on requests for included images HOT 1
- DomainName not working (config)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allmark.