Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sloria/jrnl-render

Render a jrnl (jrnl.sh) file as a webpage.
https://github.com/sloria/jrnl-render

javascript journal jrnl preact react rollup typescript

Last synced: 17 days ago
JSON representation

Render a jrnl (jrnl.sh) file as a webpage.

Awesome Lists containing this project

README

        

# jrnl-render

[![Current Version](https://img.shields.io/npm/v/jrnl-render.svg)](https://www.npmjs.org/package/jrnl-render)
![CI](https://github.com/sloria/jrnl-render/workflows/CI/badge.svg)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&identifier=142367266)](https://dependabot.com)

Render a [jrnl](http://jrnl.sh) file as a webpage.

jrnl is a command-line journaling application that stores in
plain text files. If you put your files on Dropbox (or any other
hosting service), you can use jrnl-render to generate a webpage for your
journal(s).

## Demo

https://jrnl-render-demo.netlify.com/

## Quickstart

```html



My JRNL





```

## Customization

Customize title:

```html

```

Optional copyright in footer (supports Markdown):

```html

```

Custom loading message (supports Markdown):

```html

```

## Usage as a React component

```
npm i jrnl-render
```

```javascript
import JRNL from "jrnl-render";

;
```

## Developing

- `npm install`
- To run tests: `npm test`
- To run tests in watch mode: `npm test -- --watch`

## Related

- [jrnl-parse](https://github.com/sloria/jrnl-parse) - Parse a jrnl file
in Node.js or the browser.

## License

MIT Licensed.