dgageot/demoit

Styling source file viewer

Deleplace opened this issue · 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
avivl commented

#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