+[10 years ago]skagedaljaybe: good idea, i'll try that +[10 years ago]skagedalah 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]jaybeskagedal, the default is $source/_plugins +[10 years ago]skagedalallright, so that part i understand now. i guess this site uses a pretty atypical jekyll-setup... +[10 years ago]pontikihi
but now i posted here https://github.com/jekyll/jekyll-help/issues/275
+[10 years ago]tohuwI’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]oksushitohuw: strip_html ? +[10 years ago]tohuwoksushi: 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]tohuwRegardless, strip_html strips html, not markdown. +[10 years ago]oksushiI see