![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.