Skip to content

Add custom environment for all part after body in MDPI template  #527

@cderv

Description

@cderv

From #515 (comment) with @mps9506

We should allow such environment

::: informedconsent
Any research article describing a study involving humans should contain this 
statement. Please add ``Informed consent was obtained from all subjects 
involved in the study.'' OR ``Patient consent was waived due to REASON 
(please provide a detailed justification).'' OR ``Not applicable'' for 
studies not involving humans. You might also choose to exclude this statement 
if the study did not involve humans.

Written informed consent for publication must be obtained from participating 
patients who can be identified (including by the patients themselves). Please 
state ``Written informed consent has been obtained from the patient(s) to 
publish this paper'' if applicable.
:::

and use Lua to catch those Divs and set them as variables for the Pandoc's template. This is similar idea to this filter https://github.com/pandoc-ext/abstract-section

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions