middleman-syntax icon indicating copy to clipboard operation
middleman-syntax copied to clipboard

Code syntax highlighting plugin via Rouge for Middleman

Results 8 middleman-syntax issues
Sort by recently updated
recently updated
newest added

I like enabling the line numbers, but I just realized that they don't work in my RSS feed. They just appear above the entire code snippet. Is there any way...

The instructions [here](https://github.com/middleman/middleman-syntax#css) assume that you can dynamically render a .scss file. I'm [told](https://github.com/middleman/middleman/issues/2101#issuecomment-312687818) that this does not work for Middleman 4.

**Some general background/development environment** Versions: Ruby: 2.3.0 Middleman: 4.1.10 Middleman-blog: 4.0.1 Middleman-syntax: 3.0.0 Unresolved spec: ``` WARN: Unresolved specs during Gem::Specification.reset: hashie (~> 3.4) WARN: Clearing out unresolved specs. Please...

Lexer options, defined in config.rb don't seem to get passed to passed to the lexer: ~~~ ruby activate :syntax, lexer_options: { prompt: '$,#,;' } ~~~ The above doesn't actually override...

I'm generating blog pages using the Contentful Middleman gem, within these yaml files I have Markdown content that I pass through a markdown renderer with code blocks ``` def markdown(content)...

Currently the chosen CSS class is automatically concatenated with the `lexer.tag` here: https://github.com/middleman/middleman-syntax/blob/master/lib/middleman-syntax/highlighter.rb#L11 I'm thinking a more flexible approach would be to use a format string (same style as `middleman-blog`):...

Feature Request

Closes #80 Signed-off-by: Takuya Noguchi [[email protected]](https://github.com/sponsors/tnir)

middlean-syntax 3.3.0 does not support for haml 6.0.0.beta.2. A combination of haml 6.0.0.beta.2 and middlean-syntax 3.3.0 causes errors on `middleman build` (maybe `middleman server` as wel). ## Why https://github.com/middleman/middleman-syntax/blob/d1b3edd4d2a5ad1028621f6c03ab709a1d94d4e2/lib/middleman-syntax/haml_monkey_patch.rb#L1-L6 does...