Code Monkey home page Code Monkey logo

recipage's Introduction

recipage

recipage

馃搩 reci(pe)page: Turn a markdown file into one simple page

npm Author npm size Travis devDependency Status jsDelivr Hits

Intro

recipage generates your one page website using markdown on the fly. Unlike GitBook or Jekyll, it does not generate static html files. Unlike docsify or docute, it only support one page. To start using it, all you need to do is create an index.html and deploy to anywhere you want.

Demo

Usage

Manually create index.html

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Recipage</title>
    <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
    <meta name="theme-color" content="#f5f5f5">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/recipage/dist/recipage.min.css">
</head>

<body>
    <div id="app"></div>
</body>

<script>
    window.$recipage = {
        // Config here...
    }
</script>
<script src="https://cdn.jsdelivr.net/npm/recipage"></script>

</html>

Configurations

window.$recipage = {
    url: './README.md', // The URL of markdown file
    github: 'https://github.com/SukkaW/recipage', // The github-corner link (not necessary)
    footer: { // The footer config (not necessary)
        title: 'Recipage', // The title of the page that will be show at the footer
        logo: 'https://cdn.jsdelivr.net/npm/[email protected]' // A small image that will be show at the footer
    },
    callback: function() { // The callback function after rendering. For highlight or MathJax (not necessary)
        console.log('Hey')
    }
}

Author

recipageSukka, Released under the MIT License.
Authored and maintained by Sukka with help from contributors (list).

Personal WebsiteBlog 路 GitHub @SukkaW 路 Telegram Channel @SukkaChannel 路 Twitter @isukkaw 路 Keybase @sukka

recipage's People

Contributors

dependabot[bot] avatar sukkaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

czahoi

recipage's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: baseBranch not found
Message: The following configured baseBranch could not be found: canary

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.