What would be an appropriate way to attach non-essential information to the post that is only visible when needed/requested and doesn't get in way or distract the reader?
My use-case is an urge to share LaTeX code which I use to generate graphics so that labels on the graphics match the default font used by MathJax. This refers mostly to chemical structures and diagrams. For example, I took a liberty to draw the diagram for Chemical kinetics for cyclic reversible reaction, and I'm left with the following LaTeX code which might be used for further question editing or be repurposed by the third party:
\documentclass{article}
\usepackage{chemfig}
\begin{document}
\schemestart
A
\arrow(A--C){<=>[$k_{-3}$][$k_{3}$]}[-60,1.25,,]
C
\arrow(@A--B){<=>[${k_{-1}}$][${k_{1}}$]}[-120,1.25,,]
B
\arrow(@B--@C){<=>[$k_{2}$][$k_{-2}$]}[,1.25,,]
\schemestop
\end{document}
In a sense, this code chunk is supplementary information, which is not needed for the majority of readers, but it probably would be nice to have the source code around. Multi-line comments on Stack Overflow is not really a solution. First, Chemistry.SE cannot execute code chunks, and especially not LaTeX code. Second, even formatted as comment or spoiler, it would still occupy space and would be a distraction.
To add an extra level of difficulty, how to deal with binary supplementary files? I remember orthocresol solved this elegantly by posting a profile link to own site or GitHub where the files and code were deposited. Can we do the same within the scope of SE, and what approach would be more legitimate and sensible?
*.cdx
. $\endgroup$feature-request
tag along the lines. $\endgroup$