🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

hestia

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hestia

Markdown-based static site generator.

latest
Source
npmnpm
Version
0.2.8
Version published
Maintainers
1
Created
Source

Hi! Me Hestia! :heart:

Me am a markdown-based static site generator.

All you have to do is to write markdowns, then me publish your static site!

Demo

Yes, this official site is made by hestia!

Install

$ npm install -g hestia

Feature

  • Convert markdown/*.md to public/*/index.html
  • Customizable theme
  • Searchable in your browser
  • Support emoji :+1:

Usage as a markdown converter

First, set up your hestia.config.js like this:

module.exports = {
  markdownPath: 'markdown',
  publicPath: 'public',
  app: {
    charset: 'utf8',
    port: 3000,
    url: 'http://localhost',
    title: 'Your App Title',
    description: 'Your app description.',
    author: {
      name: 'Phamilia Hestia',
      url: 'http://hestia.phamilia.co',
      startYear: 2017
    },
    markdownLinkViewable: false
  },
  design: {
    theme: 'bulma',
    markdownStyle: 'github',
    codeHighlightStyle: 'github'
  },
  menu: {
    order: 'asc',
    orderBy: 'filename',
    selected: 'first'
  },
  icon: {
    github: 'https://github.com/phamilia/hestia',
    twitter: null,
    facebook: null
  }
};

Then, run hestia commands like below:

# 1. Build markdowns to html
$ hestia build --config hestia.config.js

# 2. Start application
$ hestia start --config hestia.config.js

Usage as a Hestia application

# 1. Create Hestia Application
$ hestia new <app-name>

# 2. Write markdown documents at markdown/*.md

# 3. Start application
$ cd <app-name>
$ hestia start

# 4. See http://localhost:3000

Keywords

markdown

FAQs

Package last updated on 17 Aug 2017

Did you know?

Socket

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.

Install

Related posts