Fork me on GitHub
#perun
<
2017-02-02
>
sooheon05:02:13

Hey how can I use the SMARTYPANTS plugin for pegdown from within perun? I tried (p/markdown :options “—smartypants”) but it seems to have no effect.

bhagany06:02:38

Hi @sooheon - you can do it like this (p/markdown :options {:extensions {:smartypants true}})

sooheon06:02:50

Thank you!

bhagany06:02:26

np! You can see how the keys map to the extensions in this file: https://github.com/hashobject/perun/blob/master/src/io/perun/markdown.clj

sooheon06:02:02

Thanks, I tried just searching for “smart” with github, didn’t get good results, I should’ve grepped in the actual repo.

bhagany06:02:54

we have some work to do on the documentation as well, no worries

munen17:02:36

@bhagany Yes, our site is open source! I couldn't sent it to you yesterday, because of the Gitlab downtime. The site is http://200ok.ch and the repo is https://gitlab.com/200ok/200ok.gitlab.io

bhagany17:02:13

excellent, I'll take a look!

munen17:02:35

Thanks a lot! We've been putting some effort into building a good template for a blogging site so far. Right now we're working hard on other projects, but we have the idea to release at some point in time a nice "perun starter template" with seo, tags and so forth. Because perun really struck us as the best ssg out there, however there's a lot of stuff that needs to be done by hand right now compared to others where there's a bigger eco-system. But I'm convinced (or have the good hope^^) this will change over time, because Perun really is awesome! Thank you very much for putting so much time and effort into it!

munen17:02:01

@podviaznikov If you'd be open to it, you could record your talk yourself. I'm a lecturer at a Swiss university and am currently building a DIY lecture capture system in my spare time (in CLJ and CLJS, of course^^). You're free to use it if you want to: https://collecture.io

podviaznikov22:02:12

munen: Collecture looks really nice. Checked out your site and app on the app store

munen10:02:53

Thanks for the kind feedback. We have been working on that in our spare time to improve the state on how to give a lecture. We’ve been doing a successful private beta for the last semester and are now officially live since a couple of weeks. Feel free to use it any time - also for meetings or giving talks. There’s no ads or strings attached. The money will eventually come from universities that want to install Collecture on premise.

munen10:02:54

This is the first project where the full stack is in Clojure. Before I have only augmented existing code bases with either a CLJS front-end or written Back-End CLJ services. This time it’s Clojure all the way and it’s been a great choice.

bhagany17:02:21

It's been a lot of fun! I'm interested to see what kinds of things you build on top of Perun, I'll definitely be following this project. I think it's likely that some of the ideas you have would be good candidates for inclusion in Perun itself. @podviaznikov is the final word on that though, so don't take that as a guarantee 🙂

bhagany17:02:09

@munen On my first readthrough of your build.boot, I don't think there will be any breaking changes on the latest snapshot of Perun, but I'm going to run it myself when I have more time to make sure

bhagany17:02:40

The only thing I'd change is that permalink and canonical-url are no longer necessary - resolution of those keys are automatic now.

munen17:02:04

Yes, I've been thinking the same, actually. When we are on a current version again and I have some time to continue working on the http://200ok.ch page, I might ask in this channel whether some pull requests would be welcome.

munen17:02:21

Next to the blog, we plan to build a template for solid landing pages. Since we're a software consultancy and also have some OSS projects, it would be nice to be able show show those easily on the page as well. I can only imagine that others would like to do the same^^

bhagany17:02:24

Ah nice, that does sound useful

bhagany17:02:51

Also, since you mentioned tags, there is now a tags task in Perun

munen17:02:23

Sweet! Building "categories" was quite easy in Perun, for "tags" I had the hope that it would just appear at some point. So big thanks to you guys!(;

bhagany17:02:48

Glad to hear it will be useful 🙂

munen17:02:35

Since we're talking and I got you distracted. I actually do have a contribution*cough* that I would suggest to the maintainers of the Perun project. I would consider shutting down http://perun.io for as long as nobody has time (which I understand!) to build a beautiful landing page. Your Github repo actually looks professional, there's lots of commits, traction and just enough documentation. However, I first saw http://perun.io and was willing to strike Perun from the list of SSGs that we were evaluating. Only my business partner made me reconsider, because he actually read through your code and said that you're kinda building the same thing that he built (once upon a time) in Ruby and that your architecture is really sane. I do recognize this is really harsh feedback, because I do understand that somebody worked on http://perun.io and I do not want to be unfriendly. However, I want to give fair feedback and my impression is that http://perun.io right now might put off more people than it attracts. If you guys have a landing page, it should be in some sense "better" than the Github repo which already is very good - so it's tough to beat anyway^^

podviaznikov23:02:51

munen: I completely agree with your feedback on http://perun.io. It makes total sense. I really tried to do it but never finished, so agree that it’s better to remove the link for now. 👍

bhagany17:02:29

Nah, that's good feedback. iirc I think @martinklepsch was working on a new site for Perun, and I have slowly been turning my attention to writing better documentation that could end up there as well.

bhagany17:02:56

And for what it's worth, I agree that it should be more of a priority. And I have a bit of time 🙂

munen17:02:04

Well, forget it, then. If you are currently working on it, then it's a perfectly valid WIP page(;

munen18:02:06

@bhagany Wow, opening an PR for upgrades on our site is incredibly nice of you! I'll definitively go over this MR in detail soon and merge it. Today I’m kinda stuck in correcting lectures of the university where I teach - hard deadline writing and adding numbers; exactly what I normally would like to use a computer for^^ Thank you very much - if we meet in person at some point, you're definitively on for a coffee or lunch!(; Are you by any chance going to Clojured in Berlin this month?

bhagany18:02:35

I'm in no rush, take your time with the merge request 🙂

bhagany18:02:07

I won't be at Clojured, unfortunately. Someday...

munen19:02:04

I’ll remember^^

munen19:02:11

Thanks again!