Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to render image badge in README #1040

Open
mxcl opened this issue Jan 19, 2019 · 4 comments
Open

Failure to render image badge in README #1040

mxcl opened this issue Jan 19, 2019 · 4 comments

Comments

@mxcl
Copy link

mxcl commented Jan 19, 2019

This was with Jazzy 0.9.4 on a Travis Xcode 10.1 instance.

The second badge here at the top: https://mxcl.github.io/Path.swift

Doesn't render, but it does on GitHub: https://github.com/mxcl/Path.swift/

screen shot 2019-01-19 at 6 11 48 pm

I was encouraged to file this report: https://twitter.com/simjp/status/1086751331275194373

Many thanks!

@jpsim
Copy link
Collaborator

jpsim commented Jan 20, 2019

Thanks for filing this! This is an issue with the markdown library used by jazzy, so I've reported the issue along with a minimal repro case to them here: vmg/redcarpet#670

We can keep this jazzy issue open too until it's resolved upstream and we integrate that version into jazzy itself.

@johnfairh
Copy link
Collaborator

Simplest workaround is to write ![badge-languages][]. This looks like a redcarpet/commonmark difference to do with where whitespace is allowed.

@mxcl
Copy link
Author

mxcl commented Jan 31, 2019

Possibly this is not a bug, strictly the markdown spec doesn’t allow the omission of the trailing [] which is what I was doing. Seems to be an allowance provided by GitHub.

@cbm-mghebaji
Copy link

Hello,

I have question about using CI Badge, i use Bitrise for CI so i want to get the status of the build.
The default index.html file use Travis, i can change it with the Bitrise URL but when i regenrate the doc i will use Travis.
How can i deal with it to use always Bitrise ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants