All Projects → ianks → Octodown

ianks / Octodown

Licence: mit
Github markdown previewing straight from your shell.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Octodown

Marcdown
👻 Lightweight realtime markdown viewer and editor - Simple, clean and beautiful https://liyasthomas.github.io/marcdown
Stars: ✭ 345 (-48.35%)
Mutual labels:  markdown-editor
Django Markdown Editor
Awesome Django Markdown Editor, supported for Bootstrap & Semantic-UI
Stars: ✭ 423 (-36.68%)
Mutual labels:  markdown-editor
Markcook
A smart and beautiful markdown editor.
Stars: ✭ 547 (-18.11%)
Mutual labels:  markdown-editor
Marky
A markdown editor built with Electron and React
Stars: ✭ 355 (-46.86%)
Mutual labels:  markdown-editor
Justwrite
一款支持同步滑动预览的跨平台Markdown编辑器
Stars: ✭ 411 (-38.47%)
Mutual labels:  markdown-editor
Takenote
TakeNote is a note-taking app for the web. You can use the demo app at takenote.dev. It is a static site without a database and does not sync your notes to the cloud. The notes are persisted temporarily in local storage, but you can download all notes in markdown format as a zip.
Stars: ✭ 5,180 (+675.45%)
Mutual labels:  markdown-editor
Issues
Caret issues
Stars: ✭ 326 (-51.2%)
Mutual labels:  markdown-editor
Markdown Mode
Emacs Markdown Mode
Stars: ✭ 634 (-5.09%)
Mutual labels:  markdown-editor
Moeditor
(discontinued) Your all-purpose markdown editor.
Stars: ✭ 4,003 (+499.25%)
Mutual labels:  markdown-editor
Mditor
📝 [ M ] arkdown + E [ ditor ] = Mditor
Stars: ✭ 523 (-21.71%)
Mutual labels:  markdown-editor
For Editor
for-editor - A markdown editor based on React
Stars: ✭ 358 (-46.41%)
Mutual labels:  markdown-editor
React Md Editor
A simple markdown editor with preview, implemented with React.js and TypeScript.
Stars: ✭ 374 (-44.01%)
Mutual labels:  markdown-editor
Wiz.editor.md
一个基于 Editor.md 构建的为知笔记 Markdown 插件
Stars: ✭ 498 (-25.45%)
Mutual labels:  markdown-editor
Githuber Md
Markdown editor plugin for WordPress.
Stars: ✭ 353 (-47.16%)
Mutual labels:  markdown-editor
Markdown Playgrounds
A Markdown Editor that can execute Swift code
Stars: ✭ 553 (-17.22%)
Mutual labels:  markdown-editor
Blog React Admin
基于 pro.ant.design 的 react + Ant Design 的博客管理后台项目
Stars: ✭ 349 (-47.75%)
Mutual labels:  markdown-editor
Notekit
A GTK3 hierarchical markdown notetaking application with tablet support.
Stars: ✭ 489 (-26.8%)
Mutual labels:  markdown-editor
Marker
🖊 A gtk3 markdown editor
Stars: ✭ 644 (-3.59%)
Mutual labels:  markdown-editor
Kodexplorer
A web based file manager,web IDE / browser based code editor
Stars: ✭ 5,490 (+721.86%)
Mutual labels:  markdown-editor
Django Pagedown
A django app that allows the easy addition of Stack Overflow's "PageDown" markdown editor to a django form field, whether in a custom app or the Django Admin
Stars: ✭ 500 (-25.15%)
Mutual labels:  markdown-editor

octodown

GemVersion Build Status

Ever wanted to easily preview what your markdown would look like exactly on Github? Ever wanted to do that from inside of a Terminal?

Octodown uses the same parsers and CSS that Github uses for their markdown rendering. Github markdown styling looks beautiful, so it is Octodown's primary goal to reproduce it as faithfully as possible.

Octodown GIF


Features

  • 🆕 Edit your markdown like a boss with LiveReload.

    • octodown README.md
  • Uses the same markdown parsers and CSS as Github for true duplication.

    • Yes emojis are included. 😈
  • Fast. octodown uses native parsers to ensure performance.

  • Multiple CSS styles.

    • octodown --style atom README.md
    • The github markdown (default)
    • The atom text editor markdown
  • Properly parses STDIN.

    • cat README.md | octodown --stdin

Installation

Requirements: Ruby >= 2.0

  1. Install icu4c and cmake:
  • Mac: brew install icu4c cmake pkg-config
  • Apt: sudo apt-get install -y libicu-dev cmake pkg-config ruby-dev
  1. Install octodown:
  • If you have a non-system Ruby (highly recommended): gem install octodown
  • Else: sudo gem install octodown

Usage in VIM (optional):

  • Use asyncrun.vim:

    " Plug 'skywind3000/asyncrun.vim' in your vimrc or init.nvim
    
    :AsyncRun octodown %
    
    " or, run whenever a mardown document is opened
    
    autocmd FileType markdown :AsyncRun octodown %
    
  • Use Dispatch and add this to your ~/.vimrc:

    " Use octodown as default build command for Markdown files
    autocmd FileType markdown let b:dispatch = 'octodown %'
    
  • Caveat: make sure you follow the directions on the Dispatch README.md and make sure that the correct version of Ruby (the one which as Octodown install as a Gem), is used.

Usage

  1. Keeping it simple (choose your files from a menu):
  • octodown
  1. Markdown preview styling:
  • octodown --style atom README.md
  1. Unix lovers:
  • echo '# Hello world!' | octodown --raw --stdin > index.html

Notes

  1. With --stdin, octodown will read STDIN until EOF is reached.
  • In order to work with this mode, type what you want into the input, then press Ctrl-D when finished.

Contributing

  1. Fork it ( https://github.com/ianks/octodown/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Run the test suite (bundle exec rake)
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].