Comments (4)
This happens due to the indentation level of the Markdown inside the <textarea>
tag. Indenting the text 4 spaces or more will, according to the Markdown specification, turn it into a code block, which is what you've ended up with in your slideshow - the grey area containing your Markdown code.
Extract from your code, highlighting the indentation error:
<textarea id="source">
# Title
---
# Agenda
1. Introduction
2. Deep-dive
3. ...
---
# Introduction
</textarea>
If you take a closer look at the boilerplate code, you'll see the Markdown actually isn't indented. If you simply copied the boilerplate code, it may have been an overly helpful text editor or IDE that corrected the indentation for you.
Extract from your code, with corrected indentation:
<textarea id="source">
# Title
---
# Agenda
1. Introduction
2. Deep-dive
3. ...
---
# Introduction
</textarea>
It looks a bit weird, and in the future it may get handled for you automatically. But as of now, you'll have to simply zero out the indentation of the Markdown.
Thanks for checking out remark! :)
from remark.
Great answer, viva la Open Source! And loving 'remark'. No more Powerpoint.
from remark.
gnab,
maybe I'm being lazy/cheeky but would it be possible to get a copy of the css that you use on your demo pages - I'm visually and time challenged so could use some starting off point on the styling.
Might interest you to know that Remark plays well with Kirby CMS - it uses 4 '-' to separate fields but thankfully doesn't class with your slide properties etc.
Rgds,
J
from remark.
It's all in the HTML of the demo slideshow, but here it is, extracted just the CSS as well: http://pastebin.com/NyjSsz9b
from remark.
Related Issues (20)
- Multi-language HOT 1
- Use highlight.js styles other than those listed in the highlightStyle configuration option HOT 1
- YAML document separator in indented triple-quote blocks gets misinterpreted HOT 8
- Specifying the first number in a list HOT 3
- How to convert selected contents of markdown file to slides/ppt?
- Jump to slide with incremental slides HOT 4
- Code highlighting like in the WordPress HOT 3
- Is it possible to add or change shortcuts? HOT 2
- Using macro for font size
- link to scientific template
- Shift-space to go to previous slide?
- First line disappears when starting with single word and colon HOT 1
- Auto-advance slides HOT 4
- I love Remark, so nice HOT 1
- Syncing presentation on separate devices
- Extra space on top of columns HOT 1
- Presentation
- Broken link for remark template HOT 1
- Weird content in the footer of the wiki HOT 2
- remarkjs.com answers with 403 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remark.