Jekyll ignores files with underscores

Hi,

My file is ignored by Jekyll
how to solve this problem?

├── _functions
│   ├──__AcceptStr.md
│   ├──__AtClear.md
│   ├──__AtPrompt.md
│   ├──__Box.md
│   ├──__BoxD.md
│   ├──__BoxS.md
│   ├──__BreakBlock.md
│   ├──__CapLength.md 

I believe Jekyll ignores most things that start with a period or an underscore. You should be able to force it by using the include: option in your config file.

though maybe it would be easier to just rename them?

1 Like

Thank you for the answer, I will test.
These are the original function names, I don’t want to change them

Thank you again
everything works fine.

include: ["__*.md"]

Hi, are you hosting on Github? I’m trying to use include without luck.

Yes, the include file handling option works with GitHub Pages.

Are you getting an error? Is this a public repo where you can share the link?

This is the config file. I’ve enabled verbose logging on the jekyll build and it doesn’t show the file.

try it without the path - so just the _*.md maybe?

It worked without the path. I’ve used a path in excludes successfully, so I assumed it would work on includes as well.

Thanks!