protiumx / blogpub

Github action to publish your blog articles from Markdown to Medium or Dev.to
Apache License 2.0
30 stars 6 forks source link

Not able to add ./ for bash code in markdown #21

Closed pllee4 closed 2 years ago

pllee4 commented 2 years ago

Hi @protiumx, I saw there is a relative path feature from README.md for adding media files.

Nevertheless, I realized maybe because of this, I couldn't add ./ for bash code in markdown as it would be converted to github urls.

For example, when I tried to add these in markdown file

$ cd build/bin
$ ./my_executable

It would be published as

$ cd build/bin
$ https://raw.githubusercontent.com/<my_relative_path>/my_executable

May I know how to resolve this issue?

protiumx commented 2 years ago

Thank you for the report! It is now fixed in https://github.com/protiumx/blogpub/releases/tag/v0.7.4