Coder Social home page Coder Social logo

remark-mode.el's Introduction

remark-mode.el

A major mode for remark - the simple, in-browser, markdown-driven slideshow tool

Key bindings

  • M-n or M-<down> next slide
  • M-p or M-<up> prev slide
  • M-S-<down> move slide down
  • M-S-<up> move slide up
  • C-x C-s save and reload
  • C-c C-s s new slide
  • C-c C-s i new incremental slide
  • C-c C-s k kill slide
  • C-c C-s n create note
  • C-c C-s p toggle presenter mode
  • C-c C-s c connect browser
  • C-c C-s d disconnect browser

Dependencies

Todo

Nothing planned.

Changelog

  • 2022-11-23: v2.1.0 Expose remark-skeleton-file to the user to enable sharing a theme across slideshows. Point this var to an html file to use as a slideshow template. This will overwrite an existing index.html on each slideshow render.

  • 2021-05-04: v2.0.2 Fix byte-compiler warnings and void variable access.

  • 2019-11-03: v2.0.0 Reimplement browser synchronization in custom node server to drop dependency for browser-sync and support other platforms than os x. C-c C-s d to disconnect from browser. C-c C-s p to toggle presenter mode. Close the window when disconnecting from the slideshow on os x.

  • 2017-12-17: v1.9.0: Support moving slides around with M-S-<down> and M-S-<up>

  • 2017-11-28: v1.8.0: Remember if presentation mode is on or off when changing slides. Only change slides in the browser if the remark tab is frontmost.

  • 2017-11-27: v1.7.0: Run slideshow from the folder of the user's .remark file. Output slides in the template index.html provided in the same folder, or create a skeleton index.html if no such file exist.

  • 2017-11-27: v1.6.0: Save buffer after performing slide actions (new, kill, incremental) for the ultimate reload experience

  • 2017-11-27: v1.5.0: Handle layout: true to always show the correct slide in the browser

  • 2017-11-27: v1.4.0: Support background-image, count and layout keywords in highlighting

  • 2017-11-27: v1.3.0: Automatically visit slide under cursor in browser, not just on M-n and M-p

  • 2017-11-26: v1.2.4: Expose remark-preferred-browser as var

  • 2017-11-26: v1.1.4: Visit slide in browser on M-n and M-p

  • 2017-11-26: v1.0.4: Fix invalid syntax

  • 2017-11-26: v1.0.3: Reload on all saves, not just C-x C-s

  • 2015-09-07: v1.0.0

remark-mode.el's People

Contributors

torgeir avatar syohex avatar pierre-rouleau avatar swsnr avatar purcell avatar

Stargazers

 avatar Michael-David Fiszer avatar Colin McLear avatar  avatar Giuseppe Ragusa avatar Maciej Smolinski avatar Clemens Radermacher avatar Alex Murray avatar Gustavo de Paula avatar Tri Nguyen avatar Bendik Solheim avatar Terje Larsen avatar  avatar Juri Hahn avatar Bishesh avatar Maciej Lechowski avatar  avatar Stig Henriksen avatar Mikael Brevik avatar Ole Petter Bang avatar Cauchy Cai avatar Zak Kristjanson avatar  avatar Weiming Dong avatar M. Tong avatar クエン酸 avatar Sliim avatar

Watchers

 avatar James Cloos avatar  avatar

remark-mode.el's Issues

Some suggestions ...

I've just started using Remark, and remark-mode is great! Here are a couple of observations from a new user.

I want to customize the appearance of my slides, so I set the value of remark--folder in my init file to a folder with a customized version of the skeleton file remark.html. I was surprised to find that remark-mode also uses this as the location it looks for server.js. It was easy enough to copy it to my new folder, but it seems like that server.el is an integral part of your mode, whereas the skeleton is something most users will want to customize. Would it make sense to split remark--folder into two different variables for setting the location of these two very different files?

I often have several related slideshows in one folder and I would prefer to generate an html file for each, instead of using index.html for all of them. Would you consider a configurable option to have remark-mode use the basename of the remark file and add ".html" to it? So that foo.remark would generate foo.html?

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.