
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
zero-md-docs
Advanced tools
Instantly publish markdown from Github docs folder
Elegantly leverage your Github docs/
folder to host a Github Pages static site using just markdown
files. This gives a clean experience for your users: users can view nicely formatted docs from both
the Github UI, and from your public-facing static site, synchronised. Edits are published
immediately without a rebuild, and you avoid polluting your git history with tons of commits.
Features:
Inspired by docsify!
Setup docs/
folder like so:
.
└── docs/
├── readme.md # Homepage (always named `readme.md`)
├── index.html # Copy from template
├── getting-started.md # Another page
└── configuration.md # Yet another page
index.html
Copy and paste the following index.html
into docs/
folder:
<!-- index.html -->
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Define site links -->
<script>
window.ZeroMdDocsConfig = {
links: [
['Home', 'readme.md'],
['Getting Started', 'getting-started.md'],
['Configuration', 'configuration.md'],
['External Link Example', 'https://example.com']
]
}
</script>
<!-- Import `zero-md` -->
<script type="module" src="https://cdn.jsdelivr.net/npm/zero-md@3"></script>
<!-- Import `zero-md-docs` -->
<script type="module" src="https://cdn.jsdelivr.net/npm/zero-md-docs@1"></script>
<!-- Import default stylesheet -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/zero-md-docs@1/dist/default.css" />
</head>
<body>
<div id="app"></div>
</body>
</html>
From your Github repo page, go to Setting > Pages > Source > Deploy from a branch
, then select
/docs
folder.Save! Your site is now available at https://<username>.github.io/<repo>/
.
ISC
FAQs
Instantly publish markdown from Github docs folder
The npm package zero-md-docs receives a total of 4 weekly downloads. As such, zero-md-docs popularity was classified as not popular.
We found that zero-md-docs 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.