deckjs / deck

27 stars 1 forks source link

Javascript code snippets not formatting in electron window #81

Open shanel262 opened 8 years ago

shanel262 commented 8 years ago

Snippets of js code do not format correctly in the electron window after the first snippet, however it works in the browser.

screen shot 2016-06-24 at 10 32 31 --The first javascript snippet

screen shot 2016-06-24 at 10 32 47 --The second js snippet

davidmarkclements commented 8 years ago

so if you do tag the code fence with js it doesn't, but if you tag it with javascript it does (for example see https://gist.github.com/davidmarkclements/90facaa98ba2126d0b0c4a2d0fa96b01),

not an electron problem its a problem with the syntax highlighter deck uses (prism) - needs to be addressed in the src/main.js of deck presenter

shanel262 commented 8 years ago

Yeah I tagged all the snippets with 'javascript' but it still happens. It appears to only be a problem caused by the javascript tag, bash and sh work fine.

davidmarkclements commented 8 years ago

can you link a gist of the entire deck.md file

shanel262 commented 8 years ago

Yup https://gist.github.com/shanel262/21615aa44e4f62a81399c07e498e44a4