Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
lys-markdown-parser
Advanced tools
npm i lys-markdown-parser
yarn add lys-markdown-parser
support highlight
import { markdown, Markdown } from 'lys-markdown-parser';
// import markdown from 'lys-markdown-parser/asset' // 可选择直接引用highlight静态资源
markdown(dom, str, {
asset: ['/ddd/ddd/highlight.min.js', '/ddd/ddd/highlight.theme.css'], // 可以传入highlight的相关js/css资源
});
// 启用dom复用,可用在markdown编辑器
const mk = new Markdown(dom, {
asset: [],
});
mk.update(mkStr);
在浏览器中直接引用dist/lymd.min.js
使用
lymd.markdown(document.body, `# hello lymd`);
支持 audio/video/iframe
!![语音](src/audio)
!!![视频](src/video)
!![支持iframe](<iframe></iframe>)
FAQs
js markdown parser
The npm package lys-markdown-parser receives a total of 23 weekly downloads. As such, lys-markdown-parser popularity was classified as not popular.
We found that lys-markdown-parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.