Skip to content

colors... #22

@danturn

Description

@danturn

Hi, this maybe a silly question:

If i have a code block like this:

defmodule WebsiteWeb.PageController do
  use WebsiteWeb, :controller

  def index(conn, _params) do
    render conn, "index.html"
  end
end

when it gets rendered it gets the class "prettyprinted" applied to the pre and the code elements

if i use a different css by adding this in my functions.php file:

function my_prettify_skin( $skin ) { return 'sunburst'; } add_filter( 'prettify_skin', 'my_prettify_skin' );

it doesnt apply the correct css to the backgrounds as its looking for the class "prettyprint" not "prettyprinted"

am i dont something silly?

thanks

Dan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions