mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <mol@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Enrico Jorns <ejo@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] doc: highlight inline code with gray box
Date: Tue, 06 Oct 2020 10:18:33 +0200	[thread overview]
Message-ID: <E1kPiB7-0004v0-GA@dude02.hi.pengutronix.de> (raw)
In-Reply-To: <20200911103204.9745-1-ejo@pengutronix.de>

Thanks, applied as 25e4de8af9b9576d337b6f9a465d54ccbe55614a.

Michael

[sent from post-receive hook]

On Tue, 06 Oct 2020 10:18:33 +0200, Enrico Jorns <ejo@pengutronix.de> wrote:
> This should ease distinguishing inline code snippets from default text
> and is also more similar to what the sphinx html outputs look like.
> 
> Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
> Message-Id: <20200911103204.9745-1-ejo@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/doc/preamble.inc b/doc/preamble.inc
> index d9e528ef4108..0e632c3d2736 100644
> --- a/doc/preamble.inc
> +++ b/doc/preamble.inc
> @@ -82,6 +82,9 @@
>  \definecolor{VerbatimColor}{gray}{0.95}
>  \definecolor{VerbatimBorderColor}{gray}{0.75}
>  
> +% override default sphinxcode to display gray-colored box
> +\protected\def\sphinxcode#1{\fboxsep0.5mm\fcolorbox{VerbatimBorderColor}{VerbatimColor}{\texttt{#1}}}
> +
>  \makeatother
>  
>  % vim:syntax=tex

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

      parent reply	other threads:[~2020-10-06  8:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-11 10:32 [ptxdist] [PATCH v2] " Enrico Jorns
2020-09-11 14:40 ` Michael Olbrich
2020-09-16 10:08   ` Roland Hieber
2020-10-06  8:18 ` Michael Olbrich [this message]

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

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

  git send-email \
    --in-reply-to=E1kPiB7-0004v0-GA@dude02.hi.pengutronix.de \
    --to=mol@pengutronix.de \
    --cc=ejo@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox