Skip to content

Unsolicited folds in fenced code blocks #1

Closed
@taketwo

Description

@taketwo

Hi, thanks for the great plugin!
I have noticed that it does not treat fenced code blocks properly though. Consider the following document:

# Minimal C++ program

Here is a minimal C++ program which prints "Hello world!":

```cpp
#include <iostream>
void main()
{
  std::cout << "Hello world!";
}
```

The plugin treats #include directive as a section header and produces two folds:

1 # Minimal C++ program [4 lines]------------------------------------------
6 # include <iostream> [5 lines]-------------------------------------------

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