Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change sourceCode style. #56

Closed
avivl opened this issue Nov 28, 2019 · 0 comments
Closed

Change sourceCode style. #56

avivl opened this issue Nov 28, 2019 · 0 comments

Comments

@avivl
Copy link
Contributor

avivl commented Nov 28, 2019

Change demoit.js so it will accept styles.
Available styles are here https://xyproto.github.io/splash/docs/

avivl added a commit to avivl/demoit that referenced this issue Nov 28, 2019
Add code_style property to the SourceCode class.
It defaults to 'vs'.
Available styles are here https://xyproto.github.io/splash/docs/
Usage example

<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>
dgageot pushed a commit that referenced this issue Nov 29, 2019
Add code_style property to the SourceCode class.
It defaults to 'vs'.
Available styles are here https://xyproto.github.io/splash/docs/
Usage example

<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>
@avivl avivl closed this as completed Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant