Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Adding config for code block #90

Open
Moyf opened this issue Aug 31, 2024 · 0 comments
Open

[FR] Adding config for code block #90

Moyf opened this issue Aug 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Moyf
Copy link
Contributor

Moyf commented Aug 31, 2024

I saw in the plugin settings that we can set many options, including whether to display the title, the level of display, and so on... But these settings are global, and I'm wondering if it's possible to add additional settings in the Codeblock that only apply to this specific Block?

image


For example:

```folder-index-content
heading-limit: 3
disable-headings: true
sort-files: alphabetically
subfolder-limit: -1
```

When writing like this, these options would apply specifically to this rendering block.

This way, we can achieve better preview effects for different folder levels! For example, for particularly complex folders, we can individually restrict the hiding of certain content to avoid excessive information.

@turulix turulix added the enhancement New feature or request label Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants