demoit icon indicating copy to clipboard operation
demoit copied to clipboard

Styling source file viewer

Open Deleplace opened this issue 6 years ago • 1 comments

It would be nice to be able to

  • display line numbers, or not
  • display file name, or not
  • apply arbitrary CSS to the code displayed

Deleplace avatar Nov 04 '19 17:11 Deleplace

#56

You can now select a theme for the source code view

<source-code folder="sources"
        code_style="solarized-dark"
        files="main.go pod.yaml"
        start-lines="26;18,21"
        end-lines="27;18,22">
    </source-code>

Style list

avivl avatar Dec 09 '19 06:12 avivl