Skip to content
/ ox-qmd Public
forked from 0x60df/ox-qmd

Qiita Markdown Back-End for Org Export Engine

Notifications You must be signed in to change notification settings

conao3/ox-qmd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

ox-qmd.el

Markdown (qiita flavor) export back-end for GNU Emacs Org-mode. This back-end is based on Markdown back-end (part of GNU Emacs24) and Github Flavored Markdown back-end.

Requirements

  • Emacs 24
  • Org-mode 8.0

Installation

  1. Copy ox-qmd.el to the directory which is listed in your load-path .

  2. Add the following code to your .emacs file.

    (require 'ox-qmd)

Usage

You can call export commands from export dispatcher ( C-c C-e ).

Configuration

Remove newlines from paragraphs or not

You can choose whether you remove newlines from paragraphs or not. When ox-qmd-unfill-paragraph is non- nil (default), ox-qmd.el remove newlines and replace line-break strings with newlines. If you want to prevent it, set ox-qmd-unfill-paragraph to nil .

(setq ox-qmd-unfill-paragraph nil)

Set keyword for syntax highlight

Some language keywords used in code block of Org-mode are not recognized by Qiita. For instance, keyword sh is required for shell-script syntax highlight (keyword shell-script is not recognized). In this case, you can set keyword association by adding following code to your .emacs file.

(add-to-list 'ox-qmd-language-keyword-alist '("shell-script" . "sh"))

About

Qiita Markdown Back-End for Org Export Engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%