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

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

Open
cderv opened this issue Apr 18, 2023 · 0 comments
Open

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

cderv opened this issue Apr 18, 2023 · 0 comments

Comments

@cderv
Copy link
Collaborator

cderv commented Apr 18, 2023

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

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

No branches or pull requests

1 participant