Skip to content

Incorrect warning when md is too long #1691

@1298345095

Description

@1298345095

When text is short, there is no problem (split into multiple files)

Such as this:

```c
/* header files go up here */
/* note that C comments are enclosed within a slash and
 a star, and may wrap over lines */
// two slashes work too (and may be preferred)
#include <stdio.h>
// main returns an integer
int main(int argc, char *argv[]) {
    /* printf is our output function;
    by default, writes to standard out */
    /* printf returns an integer, but we ignore that */
    printf("hello, world\n");
    /* return 0 to indicate all went well */
    return (0);
}
```

Warning: MD018/no-missing-space-atx: No space after hash on atx style heading (Mistakenly identify #include as title)

And this:

```makefile
hw: hw.o helper.o
	gcc -o hw hw.o helper.o -lm
hw.o: hw.c
	gcc -O -Wall -c hw.c
helper.o: helper.c
	gcc -O -Wall -c helper.c
clean:
	rm -f hw.o helper.o hw
```

MD010/no-hard-tabs: Hard tabs [Column: 1]

I already set "MD010":{
"ignore_code_languages": ["makefile"]
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions