syntax-highlighting icon indicating copy to clipboard operation
syntax-highlighting copied to clipboard

Inline code highlighting

Open jalexvig opened this issue 7 years ago • 1 comments

Prerequisite checklist

  • [ N/A ] In case of a bug: Have you tried restarting Anki?
  • [ Yes ] Are you running the latest version of the add-on. Have you redownloaded the add-on from AnkiWeb to make sure?
  • [ Yes ] Did you check the add-on documentation (e.g. AnkiWeb description, Wiki if it exists) for known issues?
  • [ Yes ] Did you perform a cursory search through the existing issue reports?

What is the problem/feature you would like to see fixed/implemented?

The docs suggest inline code styling (e.g. something like this) is available:

Pre-defined pygments style to use for inline styling of code (not applicable to CSS mode).

Am I missing something obvious to do this? If so maybe it's worth adding instructions for inline code to the docs.

jalexvig avatar Nov 27 '18 18:11 jalexvig

Hi,

Thanks for the report. That section of the docs refers to inline HTML styling (as opposed to CSS-based styling). I'll update it to avoid confusion.

But regarding inline syntax highlighting in the other sense: That would definitely be a neat addition, but I'm not sure to what extend it will be feasible. Adding this to the wishlist for now.

glutanimate avatar Nov 27 '18 18:11 glutanimate