GithubHelp home page GithubHelp logo

yacca / org-ioslide Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coldnew/org-ioslide

0.0 1.0 0.0 6.76 MB

Export org-mode to Google I/O HTML5 slide.

Emacs Lisp 11.89% Makefile 0.06% Ruby 0.28% HTML 5.20% JavaScript 76.12% CSS 6.45%

org-ioslide's Introduction

org-ioslide

https://img.shields.io/badge/license-GPL_3-green.svg?dummy https://travis-ci.org/coldnew/org-ioslide.svg?branch=master http://melpa.org/packages/ox-ioslide-badge.svg http://stable.melpa.org/packages/ox-ioslide-badge.svg https://badge.waffle.io/coldnew/org-ioslide.png?label=ready&title=Ready

Export your Org document to Google I/O HTML5 slide. See DEMO slide.

Note: Org 8.x or above is required.

Installation

If you have melpa and emacs24 installed, simply type:

M-x package-install ox-ioslide

And following code in your .emacs

(require 'ox-ioslide)

For cask user, just add following lines in your Cask file

(source melpa)

(depends-on "ox-ioslide")

If you want to install manually, just do as following:

git clone this repository into whatever/, then in your Emacs init file:

(add-to-list 'load-path "path/to/whatever/")
(require 'ox-ioslide)

Usage

Just take a look of example/index.html and example/index.org, which contains detailed examples & demo.

If Tired Of Memorize Magic Code…

ox-ioslide-helper.el is also available to help you interactively inserting verbose properties/options/attributes into your slide file.

This package depends on makey.el, install it if not.

Just (require 'ox-ioslide-helper) then M-x ioslide:helper.

Development Info

Editing CSS

Compass is a CSS preprocessor used to compile SCSS/SASS into CSS. We chose SCSS for the new slide deck for maintainability, easier browser compatibility, and because…it’s the future!

That said, if not comfortable working with SCSS or don’t want to learn something new, not a problem. The generated .css files can already be found in (see /theme/css You can just edit those and bypass SCSS altogether. However, our recommendation is to use Compass. It’s super easy to install and use.

Installing Compass and making changes

First, install compass:

sudo gem update --system
sudo gem install compass

Next, you’ll want to watch for changes to the exiting .scss files in /theme/scss and any new one you add:

$ cd io-2012-slides
$ compass watch

This command automatically recompiles the .scss file when you make a change. Its corresponding .css file is output to /theme/css. Slick.

By default, config.rb in the main project folder outputs minified .css. It’s a best practice after all! However, if you want unminified files, run watch with the style output flag:

compass watch -s expanded

Note: You should not need to edit _base.scss.

org-ioslide's People

Contributors

coldnew avatar kuanyui avatar akopytov avatar purcell avatar syohex avatar

Watchers

 avatar

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.