Still.Preprocessor.Markdown (Still v0.8.0) View Source

Transforms markdown into HTML using Earmark.

Set the property :use_responsive_images in your config to render responsive images:

config :still, Still.Preprocessor.Markdown, use_responsive_images: true

Images that have the attribute "no-responsive-image" are ignored.

Link to this section Summary

Functions

Runs after the next preprocessors finish running.

Runs the current preprocessor and invokes the next one.

Runs the Elixir.Still.SourceFile through the current preprocessor and the next.

Link to this section Functions

Link to this function

after_render(source_file)

View Source

Runs after the next preprocessors finish running.

Returns the resulting Elixir.Still.SourceFile.

Runs the current preprocessor and invokes the next one.

Returns the resulting Elixir.Still.SourceFile.

Runs the Elixir.Still.SourceFile through the current preprocessor and the next.

Link to this function

run(source_file, next_preprocessors)

View Source