Create beautiful and simple HTML pages from your Readme.md files

Overview

🐠 Oranda

Create beautiful and simple HTML pages from your Readme.md files

  • ?? No config
  • πŸ‘©β€πŸ’» Code Highlighting
  • πŸ’― Emoji Support
  • ✨ Creates Static files
  • 🌎 OS Detection
  • πŸ³οΈβ€πŸŒˆ Pretty Pages
  • πŸ¦„ Customizable
  • πŸ–Ό Image minification
  • 🧠 Custom Meta Tags
  • πŸ‡³πŸ‡± CodeSandbox and iframe Support
yarn add oranda --dev
npm install oranda --save-dev

Usage

{
  ...
  "scripts": {
    "build:demo": "oranda",
    ....
  }

Deploy automatically to netlify πŸŽ‰

This Readme on Netlify

This Readme with white theme

Usage with npx

If you just want a quick fancy HTML page from the Readme but don't care about running this in continuous deployment you can also use npx to run it as a one time thing.

  npx oranda

By running this in the root folder you will also get a public folder

Options

Options are placed in a .oranda.config.json or as a oranda key in package.json. It can contain the following options:

Option Default Description
file Readme.md, readme.md, or README.md Your Readme.md name
name name in package.json The project name that is in the title and the header
logo '' The project logo that is in the header
shareCard '' URL to social media preview image for meta tags (recommended size: 1200x628, URL cannot be relative)
description description in package.json The project description for meta tags
homepage null The project homepage for meta tags
noHeader false Show no header and just the markdown content
darkTheme false Dark theme ofc πŸŽ‰
syntaxHighlight { dark: 'poimandres', light: 'github-light'} What syntax highlight theme to use in dark and light mode. All shikijs themes can be used
favicon '' Favicon url or local path
dist public To what folder to render your HTML
styles {} Styles to apply to the page. Object or path to css/scss file
additionalFiles [] Any other pages to create. It expects an array of paths of markdown files
repository null Link to point the github corner
pathPrefix Environment var PATH_PREFIX or / Host your oranda files at e.g. /my-oranda-project
meta [] Any extra meta tags you would like
remoteStyles [] Array of any remote styles you want to include (eg: Google Fonts)
remoteScripts [] Array of any remote scripts you want to include (eg: Google Analytics)
deployment {} Deployment options for github pages. Accepts all options here

Example of styles

For styles you can either use a style object like so and that will override the default styles applied. Like so:

{
  "styles": {
    "h1": {
      "color": "blue",
      "backgroundColor": "red"
    }
  }
}

Another option is to give the path to a local css or scss file. In this case you need to override any specificity issues. You can by using the #oranda id. Example:

body {
  background: #fff;
}

#oranda {
  h1 {
    text-transform: uppercase;
  }
}

Meta Tags

To create any meta tags it uses an array system like so:

  "meta": [
    { "name": "description", "content": "A cool page" },
    { "property": "robots", "content": "robots.txt" }
  ]

This will create the following HTML:

<meta name="description" content="A cool page" />
<meta property="robots" content="robots.txt" />

The first key on the object can have any name and will be applied as presented, the second one must have the name of content and will work as presented above.

Images

Any images linked in your markdown that are local will be minified and copied to your dist folder. If some image is not found it will be ignored.

GitHub Corner

The GitHub corner comes from either the repo option in your .oranda.config.json or from the repository url in your package.json. If none is present it will not be shown.

Lint

oranda also exports a command to let you lint all the markdown files you specified.

You can run this by using the lint command

"lint:md" : "oranda lint"

Deploy

oranda also exports a command to let you deploy your new site to GitHub pages

You can run this by using the deploy command

"deploy" : "oranda deploy"

Options for this can be passed in a deployment key in your config file. All options can be found here: https://github.com/tschaub/gh-pages#options

Acknowledgements

Contributors


Sara Vieira

πŸ’» 🎨 πŸ€”

Bruno Scheufler

πŸ’»

Siddharth Kshetrapal

πŸ’»

Jamon Holmgren

πŸ’»

Timothy

πŸ’»

Andrew Cherniavskii

πŸ’»

timkolberger

πŸ’»

License

MIT - see LICENSE

You might also like...

All terminal commands in one place (you can Contribute to it by putting latest commands and adding Readme)

Terminal-Commands All basic terminal commands in one place Show some ❀ by some repositories You can contribute to this readme If you to contribute wit

Dec 15, 2022

This is email scheduler made using MERN. This repo contains server code, client repo is linked in readme.

Email Scheduler Client This is an email scheduler server (client in different repository). It is made using node.js/express.js. Overview User can sign

Dec 3, 2022

This is an email scheduler made using MERN stack. This repo contains client, server side is linked in readme

Email Scheduler Client This is an email scheduler client (server in different repository). It is made using react. Overview User can sign-up/sign-in,

Dec 3, 2022

GPRM : GitHub Profile ReadMe Maker

GPRM : GitHub Profile ReadMe Maker

πŸ† Best Profile Generator, Create your perfect GitHub Profile ReadMe in the best possible way. Lots of features and tools included, all for free ! πŸ’«

Jan 3, 2023

Trying to learn Svelte. Based off the official tutorial. Readme has notes!

Learning Svelte! A JavaScript library An open-source front end compiler Instead of using a virtual DOM, Svelte will directly update the DOM in an effi

Jul 5, 2022

Create beautiful images and gifs of your source code πŸš€πŸ€–βž•

Create beautiful images and gifs of your source code πŸš€πŸ€–βž•

Darwin Awesome gifs and images of your code View Demo Β· Report Bug Β· Request Feature About The Project darwin.mp4 My motivation for building this was

Sep 7, 2022

Create beautiful quotes that capture your attention.

Create beautiful quotes that capture your attention.

Features Easy text highlights via normal rich text formatting Yellow = Bold, Blue = Italic Export to png, jpeg, svg, or copy png to clipboard Supports

Dec 15, 2022

Create beautiful code snippets from your VSCode environment.

Create beautiful code snippets from your VSCode environment.

Snippets Photo Shoot Create beautiful code snippets from your VSCode environment. How it works Select the code snippet you want to use, then right cli

Aug 3, 2022

Create beautiful images of your source code.

Create beautiful images of your source code.

Code Image Create beautiful images of your source code. Using import React from "react"; import CodeImage from '@wcj/code-image'; export default func

Sep 28, 2022
A simple yet feature-rich counter that allows you to count the views of your Github README files and profile page

View Counter Purpose This is a simple yet feature-rich counter that allows you to count the views of your github README files and profile page. Featur

Toby Hagan 4 Nov 10, 2022
Create, Customize and Commit your project's ReadMe in VS Code with an integrated extension

VS Code Readme Editor ?? A VS Code extension to create, customize and save your Readme without having to leave your project workspace. Built with Type

Sumit Nalavade 22 Dec 29, 2022
A simple editor allows you to easily add and customize all the sections you need for your profile's readme.

Create your Profile README using the best Templates tomper-readmify.herokuapp.com This is the frontend + backend of TomperReadmify build with MERN sta

Varun Tiwari 15 Jan 2, 2023
Showcase your skills on your Github readme or resumé with ease ✨

Showcase your skills on your GitHub or resumé with ease! Powered by Cloudflare Workers ⚑ Docs Example Specifying Icons Themed Icons Icons Per Line Cen

Thijs [Coding] 1.6k Dec 31, 2022
Welcome contributersβ€οΈπŸŽ‰. Just add your name, Github profile link and Linkedin linkπŸ”— Look at Readme for more.πŸ“–

Hello Welcome Developers! Step - 1 Create a GitHub account, if you don't already have one. Step - 2 Register for Hacktoberfest: Navigate to the Hackto

Prineth Fernando 28 Oct 31, 2022
Convert your Postman documentation in a githubΒ΄s readme.md ready format

Postman 2 Markdown Converter For that only time you need to convert your Postman documentation in a githubΒ΄s readme ready format! Features & Problems

Andres Bastias 0 Sep 18, 2022
An opinionated tool to create beautiful, lightweight, static HTML/CSS practice quizzes

Taoquiz An opinionated tool to create beautiful, lightweight, static HTML/CSS practice quizzes "Perfection is achieved, not when there is nothing more

null 8 Mar 28, 2022
Download Notion pages as markdown and image files, preserving hierarchy and enabling workflow properties. Works with Docusaurus.

notion-pull notion-pull lets you use Notion as your editor for markdown-based static site generators like Docusaurus. Using Notion instead of raw mark

SIL LSDev 46 Jan 7, 2023
Obsidian plugin that allows user to create a glossary of files, an index of files or both.

Obsidian Auto Glossary Auto Glossary is an Obsidian plugin to create a glossary, an index or a glossary with an index from the files you want. Feature

Ennio Italiano 29 Dec 30, 2022
generate pages from markdown files with dynamic routes, 0 effort, 0 boilerplate.

next-markdown Markdown Pages for Next.js Dynamic Routes. Blog Aware. Design Your Layout Made for people having a nextjs project in ❀️ with markdown wh

François Rouault 105 Oct 11, 2022