blogpub@v0.4.1: host media on github for your blog posts
protium

protium @protium

About: autodidact dev, open source enthusiast and photographer. I want to either hack or build something.

Location:
Munich, Germany
Joined:
Feb 12, 2018

blogpub@v0.4.1: host media on github for your blog posts

Publish Date: Feb 20 '22
4 0

blogpub@v0.4.1: host media on github for your blog posts

Hey everyone, this is just a small update on the blogpub action.

Relative paths

In release v0.4.1 I added support for relative
paths which means you can now use github to host the media you use in your blog posts.
How does it work? Just use relative paths (to the markdown file) and you are ready to go.
E.g.
magic

The action replaces all relative paths with the raw content github urls.
In the example .magic.gif is replaced with https://raw.githubusercontent.com/protiumx/blog/articles/blog-002/magic.gif.
Check out the code here.

That's all!

What other feature would you find useful for this action?
Let me know in the comments.

Comments 0 total

    Add comment