Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@mapbox/jsxtreme-markdown-loader
Advanced tools
Webpack loader to transform Markdown with interpolated JS and JSX into React components
Webpack loader to transform Markdown with interpolated JS and JSX into React components.
Runs files through the toComponentModule
function of jsxtreme-markdown.
Please read that documentation for more information.
For more information about jsxtreme-markdown features, read the README at the root of this monorepo.
npm install @mapbox/jsxtreme-markdown-loader
Follow the instructions for using Webpack loaders.
By default, the output of this loader is precompiled with Babel.
You can bypass this step (and use your own compilation) by set the option precompile: false
.
You can pass all of the options from toComponentModule
.
Additional options for the loader:
Type: (resource: string) => string
.
A function that receives the Webpack module's resource
as an argument, and returns the path to a wrapper
component.
You can use this to automatically determine the wrapper component based on the Markdown file's path.
FAQs
Webpack loader to transform Markdown with interpolated JS and JSX into React components
We found that @mapbox/jsxtreme-markdown-loader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 28 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.