How I Implemented Several Website Features
1. Centering Content First, navigate to the .../layouts/shortcodes folder and create a new file named center.html. If the layouts folder doesn’t exist at your root, create one yourself. Do not look for this under the PaperMod theme directory; create it in your own project root. Then paste in the following code and save: <div style="margin: 0 auto; width: fit-content; min-width: 10%; overflow-x: auto;"> {{ .Inner }} </div> ```markdown When calling it later, use this format before rendering: ```markdown {{% center %}} | Top | Bottom | Left | Right | | :---: | :---: | :---: | :---: | | 54.79% | 53.76% | 53.91% | 52.43% | {{% /center %}} {{% center %}} **Table 1.** Variance Explained by 5 Principal Components {{% /center %}} After rendering: