+ [10 years ago] skagedal jaybe: good idea, i'll try that
+ [10 years ago] skagedal ah that's right, it's because the config.yml sets "source" to a subdirectory and that's where it's looking for _plugins...?
+ [10 years ago] jaybe skagedal, the default is $source/_plugins
+ [10 years ago] skagedal allright, so that part i understand now. i guess this site uses a pretty atypical jekyll-setup...

message no. 81077

Posted by skagedal in #jekyll at 2015-02-22T21:20:30Z

but now i posted here https://github.com/jekyll/jekyll-help/issues/275
+ [10 years ago] tohuw I’m working on a plugin - how can I access just the text of the post, with no markup? In Liquid, I can do e.g. `| strip_newlines`, but this returns both newline markers and markdown characters. I’m currently accessing site.posts, then e.g. post.content in loops.
+ [10 years ago] oksushi tohuw: strip_html ?
+ [10 years ago] tohuw oksushi: Liquid tags aren’t accessible when writing a plugin. I need to access the textual content of the posts within my Ruby script.
+ [10 years ago] tohuw Regardless, strip_html strips html, not markdown.