
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.
npm install writr
or
yarn add writr
blog/... << Articles go here>>
blog/content... << Images and other content that you link to go here>>
We will default to the blog/
folder unless you configure the custom path in the configuration.
Meta Header
{
"title": "",
"author": "",
"url": "",
"createdAt": "",
"publishedAt": "",
"keywords": "",
"previewKey": "",
"tags": ""
}
yarn add writr
or if using Typescript do yarn add @types/writr
Express
app such as the following code example:var express = require('express');
var app = express();
var writr = require('writr');
writer.initExpress('/blog', app);
var express = require('express');
var app = express();
var writr = require('writr');
writer.initExpress('/blog', app, {
contentPath: './public/content',
postPath: './_posts',
templatePath: './views/blog'
});
To learn more about Markdown go here: https://guides.github.com/features/mastering-markdown/
There are three templates that are part of every instance of Writr:
At some point you will want to show the post before it is live. In that case you can set a secret key in the post meta information called previewKey
. Once you have set this and saved the post you can browse to your blog with the url of the post adding ?previewKey=YOUR_SECRET
at the end.
FAQs
Markdown Rendering Simplified
The npm package writr receives a total of 188 weekly downloads. As such, writr popularity was classified as not popular.
We found that writr 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.