Kikobeats / uno-urban

Simple and Elegant personal theme for Ghost.
https://kikobeats.github.io/uno-urban
8 stars 0 forks source link

Markdown isn't working properly #13

Closed stylersnico closed 7 years ago

stylersnico commented 8 years ago

Hi,

I try to have code to a post here: https://enter.thewhiterabbit.space/create-a-ecdsa-certificate-with-lets-encrypt/

The preview is working perfectly in editor but the code isn't forming properly on the final view.

Any idea why ?

Thanks,

stylersnico commented 8 years ago

Hi,

I've got it using Prism.js but I simply doesn't want to use that thing.

I want to use the markdown formatting of ghost, the Github one, why he isn't working?

Thanks

stylersnico commented 8 years ago

I don't get it.

Why :

'code'

and

''' code '''

are not working and why only (per example)

'''bash code '''

works ?

Thanks

Kikobeats commented 8 years ago

Hello!

First of all, docs about hightlight code: https://kikobeats.github.io/uno-urban/customization/highlight-code.html

Second, the correct markdown syntax for the code is:

screen shot 2016-07-21 at 20 18 49

The default prism theme is similar to GitHub, you can check it in the styleguide.

stylersnico commented 8 years ago

Hello,

The docs doesn't explain how to compile to whole thing and how to use it in a post.

And yes I know for the ' alternative, that was for displaying it directly on Github without a screenshot :)

However, the code in your screenshot should work without "js" according to ghost documentation: http://support.ghost.org/markdown-guide/