Skip to content

Disable undesired plugins for Athena pdf print #467

Open
@vincerubinetti

Description

@vincerubinetti

Currently, I have a significant amount of CSS, and I believe a few lines of JS, to disable the functionality and appearance of plugins when printing a manuscript. Instead of managing all of these custom styles and such, it seems better to cut things off at the source:

Simply disable all (or almost all? maybe leave mathjax?) plugins by default in the PDF and DOCX config. The plugins are meant for interactive functionality and don't belong there anyway. Then I could get rid of a lot of these unneeded lines, making things easier to maintain. There would also be no question whether the plugins are being disabled/hidden properly; they're not even included at all.

I'm not sure why I didn't do this in the first place. Maybe at first we didn't have separate configs for each output format? If I'm misremembering something that makes this not viable let me know.

Related to: greenelab/covid19-review#1133

Metadata

Metadata

Labels

frontendissues related to the HTML view and interactivity

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions