npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

docpad-plugin-orgmode

v2.0.3

Published

DocPad plugin that adds the ability to render org-mode (the Emacs-mode) to HTML

Downloads

4

Readme

OrgMode Plugin for DocPad

NPM version

Convert documents written in org-mode to HTML

Convention: .html.org

Uses org-js to do the actual conversion

Install

docpad install orgmode

Using

Just create a document with the ending .html.org and start editing (Remark: for editing you will probably want to use GNU Emacs or one of its derivatives as org-mode-files are not much fun to edit without that mode).

A file would look like this:

---
title: "Test with org-mode"
layout: "default"
---
* First Section
  Some text
* *Important* section
  More text

If in the main section a #+TITLE: is set it overrides the title in the header. Otherwise the title is used to set the org-mode-title

Text between #begin_HTML and #end_HTML is passed directly to the generated HTML

Configuration

Options can either be passed in the header in an orgmode-section like this:

---
title: "Test-file"
orgmode:
  showTitle: false
---

Or in the docpad.coffee-file as global presets:

docpadConfig = {
plugins:
  orgmode:
    headerOffset: 1
}

Available options are:

  • showToc: Show the table of contents created by the parser. Default: true
  • showTitle: Show the title as a <h1> header. Default: true
  • headerOffset: Parameter from org-js. Increment the header levels by this. Default: 1
  • exportFromLineNumber: Parameter from org-js. Adds line numbers from the original source. Default: false
  • suppressSubScriptHandling: Parameter from org-js
  • suppressAutoLink: Parameter from org-js
  • suppressCheckboxHandling: Parameter from org-js. Do not translate checkboxes. Default: false
  • translateSymbolArrow: Parameter from org-js. Translate the characters -> to an arrow-symbol. Default: false
  • htmlClassPrefix: Parameter from org-js. Add this string to class names. For instance the class section-number is extended to org-js-section-number if this is set to org-js-. If you want to add a class make sure that the string ends with a white-space. Default: unset
  • htmlIdPrefix: Parameter from org-js. Prefix the IDs with this string. Default: unset

History

You can discover the history inside the History.md file

License

Licensed under the incredibly permissive MIT License

Copyright © 2014+ Bernhard F.W. Gschaider