emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Steinar Bang <sb@dod.no>
To: emacs-orgmode@gnu.org
Subject: Issue with workaround (referring to sonarqube badges in github README.org)
Date: Wed, 01 Nov 2017 18:53:33 +0100	[thread overview]
Message-ID: <86y3npubqa.fsf@dod.no> (raw)

I use org-mode syntax for my github README file, because I'm more
familiar with it, and because I use org-mode.

I ran into a problem when trying to use SonarQube status badges from
SonarCloud: the badge images didn't show up, instead the URL to the REST
API call generating the badge was shown[1].

According to a comment response on the issue[2], this is caused by
org-mode, because org-mode only creates image links for URLs containing
a file extension matching a supported image type.

Luckily the same message suggested a workaround: add the
pseudo-page-internal-link "#.svg" to the image URLs.

The results can be viewed on[3].

References:
[1] <https://github.com/github/markup/issues/1124>
[2] <https://github.com/github/markup/issues/1124#issuecomment-340941001>
[3] <https://github.com/steinarb/ukelonn/tree/work/use-liquibase#status>

                 reply	other threads:[~2017-11-01 17:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86y3npubqa.fsf@dod.no \
    --to=sb@dod.no \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).