elegant icon indicating copy to clipboard operation
elegant copied to clipboard

Pelican reveal-md

Open iranzo opened this issue 6 years ago • 14 comments

Do we want to enable 'by default' https://github.com/brookskindle/pelican-revealmd on blog-o-matic and documentation website so that we can upload presentations of Elegant directly in website?

iranzo avatar Jan 14 '19 11:01 iranzo

Cool find. Love it. Please add it.

We may customize Elegant if needed to support revealmd.

talha131 avatar Jan 14 '19 11:01 talha131

I've fixed the three issues I've found in the plugin and submitted a PR, but in the meantime I'm serving it from my user repo

you can check how does it look like at https://iranzo.github.io/blog/2019/01/16/automate-project-github-pages-travis-and-quay/#/title-slide

Let me know if I should PR to add it to documentation website as feature

iranzo avatar Jan 20 '19 21:01 iranzo

#273 required for this

iranzo avatar Jun 09 '19 18:06 iranzo

But I did manually some attempt on my own that we could merge in the meantime

iranzo avatar Jun 09 '19 18:06 iranzo

In blog-o-matic I did create the template inside the revealmd plugin for pelican, so probably we can use same approach and reduce one extra template in elegant, ideally, if we provide it, we could also use some more content tags, etc generated out of the text

iranzo avatar Jun 10 '19 16:06 iranzo

@iranzo can you show me an example of your markdown files that uses this plugin?

talha131 avatar Jul 05 '19 01:07 talha131

What I don't understand is how do we tell Pelican to render this markdown file with reveal instead of article template.

talha131 avatar Jul 05 '19 01:07 talha131

Rendered url: https://iranzo.github.io/blog/2018/01/27/devconfcz-2018-citellus-detecting-common-pitfalls-of-deployments/#/title-slide

Source file: https://github.com/iranzo/iranzo.github.io/blob/source/content/presentations/citellus/devconfcz-2018/devconfcz2018-presentation-revealmd.revealjs

The pelican-revealmd plugin (https://github.com/iranzo/pelican-revealmd ) does the conversion of the origin file, doing replacement of image url to be pelican compatible and then outputs the file to 'pelican' so that it places where it should (part of https://github.com/iranzo/pelican-revealmd/blob/master/init.py)

iranzo avatar Jul 05 '19 05:07 iranzo

This is the blank template I do use https://github.com/iranzo/pelican-revealmd/blob/master/templates/revealmd.html

iranzo avatar Jul 05 '19 05:07 iranzo

@iranzo I would like to try this out on something on my own website, as well as help you write a how to for this. Is that something you would be interested in?

jackdewinter avatar Jul 19 '19 04:07 jackdewinter

@jackdewinter Sure, in fact, I've it at my website using a fork of the original repo and the template indicated in comment from two weeks ago.

If this is still something we want, I can work on the article and put it via 'PR'. By default it will require the plugin so it's not like a 'elegant'-only feature, but blog-o-matic includes it by default.

What are the feelings about this?

iranzo avatar Jul 19 '19 05:07 iranzo

@iranzo I haven't been able to take up this issue due to time constraints. As I understand you have it working in your fork.

Can you please open up a PR so that this plugin works out of the box?

@jackdewinter has very kindly offered to take up documentation this feature. We will need to articles for it

  1. Help article on how to use this plugin
  2. Demo presentation (perhaps a presentation highlighting Elegant features which we already have on our home page)

talha131 avatar Jul 20 '19 15:07 talha131

I'll be out of town for some days once I'm back or get internet access from laptop I'll do it. It depends on time constraints for inclusion

Regards Pablo

Sent from mobile

El sáb., 20 jul. 2019 17:06, Talha Mansoor [email protected] escribió:

@iranzo https://github.com/iranzo I haven't been able to take up this issue due to time constraints. As I understand you have it working in your fork.

Can you please open up a PR so that this plugin works out of the box?

@jackdewinter https://github.com/jackdewinter has very kindly offered to take up documentation this feature. We will need to articles for it

  1. Help article on how to use this plugin
  2. Demo presentation (perhaps a presentation highlighting Elegant features which we already have on our home page)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Pelican-Elegant/elegant/issues/300?email_source=notifications&email_token=AACMJD7EDM33Q27MZPMQDLDQAMSWRA5CNFSM4HWMIM22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2NQDSY#issuecomment-513475019, or mute the thread https://github.com/notifications/unsubscribe-auth/AACMJDZDHI6GM2D4TW5RRLLQAMSWRANCNFSM4HWMIM2Q .

iranzo avatar Jul 20 '19 15:07 iranzo

Feedback welcome on PR: #460

iranzo avatar Jul 22 '19 19:07 iranzo