
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@webdesigndecal/mark2html
Advanced tools
A quick way to generate basic websites with your markdowns
Your markdowns stay the same. For detailed notes about the markdown syntax (in GitHub flavor), please check showdown.
Here are some exciting macros to enhance your experience,
{.include relative/path/to/src/file}
The text from another file will be injected in the page. The file will be searched relative to the markdown file or relative to the build-in resources directory.
{.link relative/path/to/src/file}
{.link relative/path/to/src/file | optional-text}
The file will be copied to the output directory & the markdown will be generated [relative/path/to/dist/file](optional-text).
Since the syntax for image embedding is , we can similarly embed the image with the macro,
!{.link relative/path/to/src/image | alt-text}
If wish to only generate the relative/path/to/dist/file, consider using
{.link* relative/path/to/src/file}
If you wish to zip the file after copying to the destination, try adding a :zip suffix,
{.link:zip relative/path/to/src/file | optional-text}
To set a variable,
{.let variable value}
{.let variable}value{./let}
{.let variable}
<!-- Value can span multiple lines -->
{./let}
To inject a variable value
{. variable}
A powerful action is that you may set the value of a variable as a range of markdown text and replay that range of text with injection.
{.raw}
<!-- Some HTML -->
{./raw}
Some of your text will be pruned while it's transformed into HTML. Wrapping your text with {.raw} will preserve its content. When writing some template, you would want to wrap <!doctype>, <head>, <body> with {.raw}.
After cloning the repo, run npm install.
You may find some samples demoing the features under examples/. To generate a website, run bin/cli.js path/to/markdown.md; running bin/cli.js examples/assignment-sample/instructions.md will generate a website placed in the file's directory examples/assignment-sample/instructions_dist/.
FAQs
A quick way to generate basic websites with your markdowns
We found that @webdesigndecal/mark2html demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.