Skip to content

Incompatibility of mkdocstrings (or handler?) with pymdownx.snippets: auto_append: (python 3.7) #642

Closed Answered by Enn83
Enn83 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your help and indications!

Solution

... we strip the surrounding <p> tag, but only if it's the only tag at the root level. The auto-append extension appends references at the end of every Markdown string that is converted ...

As I read this, I remembered that I had added Markdown/html comments in the auto_append: abreviations.md file. After removing them and any other content except abbreviations in the abbreviations.md file, the admonitions were fixed and now looks OK!


Could you share your docstring please? The one with "Details supplementaires ...".

My docstring was:

    def func(self, ...):
        """
        ...

        Note: Détails supplémentaires sur le paramètre …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@pawamoy
Comment options

@pawamoy
Comment options

@pawamoy
Comment options

@Enn83
Comment options

Answer selected by Enn83
@pawamoy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants