Update markdown parsing to allow wiki links

Any link inside a item detail page's markdown description which does
not have a URL will be assumed to be the name of an item covered by
Crafting Guide and an URL will be added to reference the appropiate
browse page.
This commit is contained in:
Andrew Miner
2015-03-24 17:12:25 -07:00
parent 492d6854ac
commit 96ddd1bd4d
5 changed files with 46 additions and 8 deletions
+4 -3
View File
@@ -32,9 +32,10 @@ switch window.location.hostname
global.env = 'production'
logger.level = Logger.INFO
global.router = new CraftingGuideRouter
global.util = require 'util'
global.views = views
global.router = new CraftingGuideRouter
global.util = require 'util'
global.views = views
global.markdown = global.markdown.markdown
global.feedbackController = new FeedbackController el:'.view__feedback'
feedbackController.render()