Code Monkey home page Code Monkey logo

p_slides's People

Contributors

branch14 avatar munen avatar tpo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

p_slides's Issues

Example of using the trivia class?

Hi, I see in themes/zhaw/zhaw.css there is a .trivia class that looks useful for some local theming.

I've tried a few approaches in and out of the <slides> section but can't really work out how to make use of it.

ampersands in code will not get rendered correctly

If you have a presentation consisting of the following markup only (notice the leading 4 spaces that represent code in Markdown):

    int& foo;

then this will be rendered in p_slides as:

<pre>
    <code>int&amp; foo; </code>
</pre>

and visible in the browser as:

int&amp; foo;

This is caused by p_slides passing the .html() content of an element to showdown.js' makeHtml() method . .html() will apparently interpreted the element's contet somewhat and replace ampersands by &amp;. It'd be better to instead use .text() instead, which does not interpret the content of a DOM node and passes it on as is.

I'll create a patch and send you a pull request. My tree is containing one additional minor fix, so you probably want to merge in my tree in it's entirety (not ony cherry-pick).

An example of a presentation that is rendered incorrectly can be found here: https://gist.github.com/3786761
Thanks,
*t

Empty lines in code sections are rendered twice

I noticed, when having empty code lines in p_slides, such as

here_is_a_line_of_code();

and_here_is_the_next_one();

that the empty line between those line gets rendered twice in p_slides.

Create a modern and nice Landing Page

  • Use Github Pages
  • Include Google Analytics
  • Make screenshots
  • Explain USP better (self contained, no dependencies, stable API, uses best of breed libs, own editor, version control, sharing as simple html file, pdf export)
  • Integrate discussion points from HN
    • ZHAW
    • Five years in production
  • Add contribution description
  • Add section featuring contributors
  • Add License (check assets' licenses first)
  • Use 200ok custom domain

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.