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

Feature request: Indentation #176

Closed
Calorion opened this issue Feb 8, 2022 · 8 comments
Closed

Feature request: Indentation #176

Calorion opened this issue Feb 8, 2022 · 8 comments

Comments

@Calorion
Copy link

Calorion commented Feb 8, 2022

Would it be possible to make Admonition invokable with indents rather than backticks?

@valentine195
Copy link
Member

Actually, maybe. Let me look into it. But I would recommend using the MSDoc syntax.

@Calorion
Copy link
Author

Calorion commented Feb 9, 2022

Here's the thing though: There's a lot of non-coders who would like to use indents for formatting rather than code blocks. So ideally I'd like the default admonition to be invoked with only an indent, and multiple indents to create nesting.

@copeugne
Copy link

I don't think that it is a good idea, I prefer admonition being more specific to invoke, I use tabs for other things. But why not making it optional.

@Calorion
Copy link
Author

Oh, definitely it would be an option. Those that like their code blocks will want things as they are. This wouldn't be the default.

@valentine195
Copy link
Member

This can now be done with the Microsoft Document Syntax.

@Calorion
Copy link
Author

I'm not sure how this works. Plain indents are still code blocks, not Admonition blocks.

@valentine195
Copy link
Member

This is how you do it:

    [!quote]
    This is an admonition!

Please read through the section I linked to in this comment for the syntax.

@Calorion
Copy link
Author

Calorion commented Mar 4, 2022

Thanks, but that’s not quite the same thing as the default admonition being able to be invoked with only an indent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants