Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
com.metreeca:mark-maven-plugin
Advanced tools
Metreeca/Mark is a minimalist reader for static Markdown document sites. It doesn't require complex setups, specific site layouts or release-time static site generation: just throw in a couple of Markdown pages and let the reader take care of the details…
Create Markdown content using your favourite editor; the following markdown extensions are supported:
[!WARNING]
Make sure to use relative links to refer to images and related content.
Define a HTML file to be served by your deployment environment as fallback content for unknown routes. For GitHub Pages
that would be a 404.html
file in the root of your source branch/folder.
[!WARNING]
When deploying to GitHub Pages, make sure to include a
.nojekyll
file.
Include a head
element according to the following (all meta
/link
elements are optional).
<!DOCTYPE html>
<html lang="en">
<head>
<title>Metreeca/Mark</title>
<meta name="version" content="v1.0.1">
<meta name="description" content="A minimalist Markdown document reader">
<meta name="creator" content="https://www.metreeca.com/">
<meta name="copyright" content="© 2020-2024 Metreeca">
<meta name="license" content="Creative Commons BY-NC-SA 4.0 License">
<meta name="license:uri" content="https://creativecommons.org/licenses/by-nc-sa/4.0/">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#786">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- define if deployed to a subfolder -->
<link rel="home" href="/mark/"/>
<!-- `@{major}` and `@{major.minor}`) version ranges also supported -->
<link rel="icon" type="image/svg+xml"
href="https://cdn.jsdelivr.net/npm/@metreeca/mark@v1.0.1/dist/index.svg"/>
<link rel="stylesheet" type="text/css"
href="https://cdn.jsdelivr.net/npm/@metreeca/mark@v1.0.1/dist/index.css">
<script type="module"
src="https://cdn.jsdelivr.net/npm/@metreeca/mark@v1.0.1/dist/index.js"></script>
<!-- include to define top-level navigation links in the sidebar -->
<script type="application/json">
{
"Tutorials": "/tutorials/",
"How-To": "/how-to/",
"GitHub": "https://github.com/metreeca/mark"
}
</script>
</head>
</html>
The loader will dynamically retrieve and render Markdown content as inferred from the current URL according to the following patterns:
URL | Content |
---|---|
https://example.com/ | https://example.com/index.md |
https://example.com/folder/ | https://example.com/folder/index.md |
https://example.com/document | https://example.com/document.md |
Internal Markdown links in the Content format are automatically rewritten to the corresponding URL format.
The loader will dynamically replace placeholder expression formatted like {{meta.<name>}}
with the content defined by
the matching <meta name="<name>" content="<content>">
tag in the HTML loader document, for instance v1.0.1
with 1.2.3
.
This project is licensed under the Apache 2.0 License – see LICENSE file for details.
FAQs
A minimalist Maven plugin for static site generation
We found that com.metreeca:mark-maven-plugin demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.