code-prettify
code-prettify copied to clipboard
colors...
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