showdownjs/showdown

Weird Variable Glitch

Open

#961 创建于 2022年11月9日

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)JavaScript (13,700 star) (1,640 fork)batch import
help wanted

描述

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.

贡献者指南