Hey guys,
I’ve been battling this problem for a full day now and can’t seem to solve it. I’m wondering if there’s a config or initialization step that I may have missed that isn’t in the docs? I’m getting the following error when trying to put a {{#markdown}}{{/markdown}} block in a template.
Exception in template helper: ReferenceError: showdown is not defined
    at Object.<anonymous> (http://localhost:3000/app/app.js?hash=e865e5da9133e4f739598d7630066b79a817d0e7:1235:23)
    at http://localhost:3000/packages/blaze.js?hash=38069f4f7cfbd8898160bc97d37dd847cd5985fe:2984:16
    at http://localhost:3000/packages/blaze.js?hash=38069f4f7cfbd8898160bc97d37dd847cd5985fe:1643:16
    at http://localhost:3000/packages/blaze.js?hash=38069f4f7cfbd8898160bc97d37dd847cd5985fe:3036:66
    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=38069f4f7cfbd8898160bc97d37dd847cd5985fe:3677:12)
    at http://localhost:3000/packages/blaze.js?hash=38069f4f7cfbd8898160bc97d37dd847cd5985fe:3035:27
    at .<anonymous> (http://localhost:3000/packages/spacebars.js?hash=6b2a9ade7533b27d695f0281f10c438e40b8e6f8:58:23)
    at http://localhost:3000/packages/blaze.js?hash=38069f4f7cfbd8898160bc97d37dd847cd5985fe:1865:20
    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=38069f4f7cfbd8898160bc97d37dd847cd5985fe:3677:12)
    at http://localhost:3000/packages/blaze.js?hash=38069f4f7cfbd8898160bc97d37dd847cd5985fe:1863:29
meteor.js?hash=199010c…:913 Exception from Tracker recompute function:
meteor.js?hash=199010c…:913 Error: Expected template or null, found: undefined
    at ._render (spacebars.js?hash=6b2a9ad…:51)
    at doRender (blaze.js?hash=38069f4…:2017)
    at blaze.js?hash=38069f4…:1865
    at Function.Template._withTemplateInstanceFunc (blaze.js?hash=38069f4…:3677)
    at blaze.js?hash=38069f4…:1863
    at Object.Blaze._withCurrentView (blaze.js?hash=38069f4…:2204)
    at viewAutorun (blaze.js?hash=38069f4…:1862)
    at Tracker.Computation._compute (tracker.js?hash=b267c37…:341)
    at new Tracker.Computation (tracker.js?hash=b267c37…:229)
    at Object.Tracker.autorun (tracker.js?hash=b267c37…:580)
meteor.js?hash=199010c…:913 Exception from Tracker recompute function:
meteor.js?hash=199010c…:913 TypeError: Cannot read property 'splice' of null
    at http://localhost:3000/packages/blaze.js?hash=38069f4f7cfbd8898160bc97d37dd847cd5985fe:2788:37
    at Object.Tracker.nonreactive (http://localhost:3000/packages/tracker.js?hash=b267c37effdf4af331d16fc647c0370c2eaff44d:607:12)
    at Object.eachView.stopHandle.ObserveSequence.observe.addedAt (http://localhost:3000/packages/blaze.js?hash=38069f4f7cfbd8898160bc97d37dd847cd5985fe:2757:17)
    at Object.diffFn.addedBefore (http://localhost:3000/packages/observe-sequence.js?hash=b4e2d695a6de0090d16421b24913b4cab1984098:215:17)
    at http://localhost:3000/packages/diff-sequence.js?hash=727c5f356b359104f0b5586eab1b7866bce68589:193:42
    at Array.forEach (native)
    at Function._.each._.forEach (http://localhost:3000/packages/underscore.js?hash=8de51f9d86e95ae2ffee15a8db324a1decccba3e:139:11)
    at DiffSequence.diffQueryOrderedChanges (http://localhost:3000/packages/diff-sequence.js?hash=727c5f356b359104f0b5586eab1b7866bce68589:185:5)
    at diffArray (http://localhost:3000/packages/observe-sequence.js?hash=b4e2d695a6de0090d16421b24913b4cab1984098:199:3)
    at http://localhost:3000/packages/observe-sequence.js?hash=b4e2d695a6de0090d16421b24913b4cab1984098:132:9
I’m using Meteor 1.3.1 and markdown 1.0.8