![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Fast web server allowing to browse, search and edit project documentation written in Markdown
Hads is a fast Node.js based web server allowing to browse, search and edit documentation written in Markdown.
Features:
[[toc]]
[[index]]
npm install -g hads
hads -o
Your browser will open http://localhost:4040
and display your project documentation.
Usage: hads [root dir] [options]
Options:
-p, --port Port number to listen on [default: 4040]
-h, --host Host address to bind to [default: "localhost"]
-i, --images-dir Directory to store images [default: "images"]
-o, --open Open default browser on start
-r, --readonly Read-only mode (no add or edit feature)
-e, --export Export static HTML [default: "./public"]
--help Show this help
If no root dir is specified, ./
will be used.
The server will automatically search for a file named index.md
, readme.md
or README.md
on the specified
documentation root and will use it as your home page.
You can customize the CSS style in a file named custom.css
.
The special text [[toc]]
will be replaced by the table of contents of the markdown document, based on headings.
The special text [[index]]
will be replaced by the full navigation index of all markdown files found under the
specified root dir. File and folder names will be humanized for better readability.
It is particularly useful on the home page to provide an overview of the available documentation for your project.
The sorting of each index level is as follows:
001-abc
and 002 mno
and 003_xyz
) are next, sorted
by their respective prefix numbers. Note that the prefix numbers are stripped out in the index.You can use the Mermaid syntax to insert diagrams and flowcharts directly in your
markdown, but using code blocks with the mermaid
language specified, like this:
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
Mermaid configuration can be overridden on a given page using the global variable MERMAID_CONFIG
in a <script>
tag, for example:
<script>
MERMAID_CONFIG = { theme: 'forest' };
</script>
See changelog here
FAQs
Fast web server allowing to browse, search and edit project documentation written in Markdown
The npm package hads receives a total of 0 weekly downloads. As such, hads popularity was classified as not popular.
We found that hads demonstrated a not healthy version release cadence and project activity because the last version was released 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.