
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
mathertale-blocks
Advanced tools
Mathertale schemas and blocks.
Install the package:
pnpm add mathertale-blocks
You need to compile Tailwind CSS for this module in your project. Edit your global.css:
@source "../../node_modules/mathertale-blocks/dist/components.js";
This package uses katex for mathematical expression rendering. You need to install katex as a peer dependency and import its CSS:
pnpm add katex
Then import the katex CSS in your application:
// In your main CSS file or application entry point
import 'katex/dist/katex.min.css';
Or in your CSS/SCSS file:
@import 'katex/dist/katex.min.css';
Recursively finds all journey and quest files and builds the database:
mathertale-build db ./
# or
mathertale-build db ./ --output ./data
Warning: You should not run this command in the root directory of your Mathertale project.
JourneySchemaQuestSchemaQuestShortSchemaBlockSchemaMore information can be found in src/schemas.ts.
First you need to create the block file in blocks, which should offer:
Then add the convert function to tagBlockMap in "extract-content.ts". Also you need to export those types in "index.ts".
# Quest: Quest Name
id: test-id
desc: This is a test quest.
## Section: Introduction
### para: Welcome
id: para-welcome
This is the welcome paragraph.
## Section: Main Content
### Para: Explanation
id: para-explanation
This explains the concept.
### PARA: Conclusion
id: para-conclusion
This is the conclusion.
dist/ folder). Check your package.json for the build script (e.g., pnpm build).version field in package.json according to semantic versioning rules.npm login in your terminal and enter your npm credentials.npm publish. If you use two-factor authentication, you might need to append --otp=YOUR_OTP_CODE.dev: Starts the local Storybook server, use this to develop and preview your components.test: Runs all your tests with vitest.test:watch: Runs tests in watch mode.build: Builds your Storybook as a static web application.build:lib: Builds your component library with Vite.lint: Runs ESLint.format: Formats your code with Prettier.MIT
FAQs
Mathertale Blocks
We found that mathertale-blocks demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.