Skip to content

.UseFlexiCodeBlocks() Generates a broken button and no syntax highlighting #29

Description

@CodeSeraph

I am trying to render a md file to screen but the code blocks render without any syntax highlighting and there is a button that gets generated before each code block with a missing img.

my code to render is

var builder = new MarkdownPipelineBuilder().UseAdvancedExtensions().UseFlexiCodeBlocks();
var pipeline = builder.Build();
string document = File.ReadAllText(HttpContext.Current.Server.MapPath("~/Documentation/" + filename + ".md"));
return Markdown.ToHtml(document, pipeline);

The markdown file contains

```C#
var test = "an example";
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions