Open links in new window

This commit is contained in:
Julius Haertl
2016-11-06 23:26:20 +01:00
parent f2fd7c215c
commit 493b9b6260
4 changed files with 5 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ app.config(function ($provide, $routeProvider, $interpolateProvider, $httpProvid
linkify: true,
xhtmlOut: true
});
markdownItConverterProvider.use(markdownitLinkTarget);
$urlRouterProvider.otherwise("/");

View File

@@ -15,7 +15,8 @@
"masonry": "~4.0.0",
"angular-ui-select": "~0.18.0",
"angular-markdown-it": "~0.6.1",
"angular-ui-router": "~1.0.0"
"angular-ui-router": "~1.0.0",
"markdown-it-link-target": "~1.0.1"
},
"license": "AGPL-3.0",
"private": true,

View File

@@ -39,6 +39,7 @@ app.config(["$provide", "$routeProvider", "$interpolateProvider", "$httpProvider
linkify: true,
xhtmlOut: true
});
markdownItConverterProvider.use(markdownitLinkTarget);
$urlRouterProvider.otherwise("/");