showdownjs/showdown

Weird Variable Glitch

开放

#961 创建于 2022年11月9日

 (1 条评论) (0 个反应) (1 位负责人)JavaScript (1,640 个派生)batch import
help wanted

仓库指标

星标
 (13,700 个星标)
PR 合并指标
 (平均合并 15小时 21分钟) (30 天内合并 3 个 PR)

描述

Hello, when I try to run my code that uses showdown.js, I get these errors:

Uncaught ReferenceError: showdown is not defined It claims that this code line is wrong: const converter = new showdown.Converter();

Uncaught ReferenceError: getDefaultOpts is not defined Inside the file "showdown.js" it states this line of code is wrong: globalOptions = getDefaultOpts(true),

I am not using node for my project. I am using static website files. Please help. Thanks in advance for any assistance.

贡献者指南