BeamerReveal

 view release on metacpan or  search on metacpan

share/templates/html/main.html  view on Meta::CPAN

          text-indent: -0.5em;
      }
      .menu-title {
          display: block;
          padding-left: 0em;
          text-indent: 0em;
	  color: orange;
      }
      .menu-section {
          display: block;
          padding-left: 0.5em;
          text-indent: -0.5em;
	  color:yellow;
      }
      .menu-subsection {
          display: block;
          padding-left: 1.5em;
          text-indent: -0.5em;
	  color:lightgreen;
      }
    </style>
  </head>
  <body class="quarto-light">
    <div class="reveal">
      <div class="slides">
---SLIDES---
      </div>
      <div class="quarto-auto-generated-content" style="display: none;">
	<div class="footer footer-default">
	</div>
    </div></div>

    <script>window.backupDefine = window.define; window.define = undefined;</script>
    <script src="---SUBDIR---/libs/revealjs/dist/reveal.js"></script>
    <!-- reveal.js plugins -->
    <script src="---SUBDIR---/libs/revealjs/plugin/quarto-line-highlight/line-highlight.js"></script>
    <script src="---SUBDIR---/libs/revealjs/plugin/pdf-export/pdfexport.js"></script>
    <script src="---SUBDIR---/libs/revealjs/plugin/reveal-menu/menu.js"></script>
    <script src="---SUBDIR---/libs/revealjs/plugin/reveal-menu/quarto-menu.js"></script>
    <script src="---SUBDIR---/libs/revealjs/plugin/quarto-support/support.js"></script>
    

    <script src="---SUBDIR---/libs/revealjs/plugin/notes/notes.js"></script>
    <script src="---SUBDIR---/libs/revealjs/plugin/search/search.js"></script>
    <script src="---SUBDIR---/libs/revealjs/plugin/zoom/zoom.js"></script>
    <script src="---SUBDIR---/libs/revealjs/plugin/math/math.js"></script>
    <script>window.define = window.backupDefine; window.backupDefine = undefined;</script>

    <script>

      // Full list of configuration options available at:
      // https://revealjs.com/config/
      Reveal.initialize({
	  'controlsAuto': false,
	  'previewLinksAuto': false,
	  'pdfSeparateFragments': false,
	  'autoAnimateEasing': "ease",
	  'autoAnimateDuration': 1,
	  'autoAnimateUnmatched': true,
	  'jumpToSlide': true,
	  'menu': {"side":"left","useTextContentForMissingTitles":true,"hideMissingTitles":true,"markers":false,"loadIcons":false,"custom":[{"title":"Tools","icon":"<i class=\"fas fa-gear\"></i>","content":"<ul class=\"slide-menu-items\">\n<li class=\"slide...
	  'smaller': false,
	  
          // Display controls in the bottom right corner
          controls: false,

          // Help the user learn the controls by providing hints, for example by
          // bouncing the down arrow when they first encounter a vertical slide
          controlsTutorial: false,

          // Determines where controls appear, "edges" or "bottom-right"
          controlsLayout: 'edges',

          // Visibility rule for backwards navigation arrows; "faded", "hidden"
          // or "visible"
          controlsBackArrows: 'faded',

          // Display a presentation progress bar
          progress: true,

          // Display the page number of the current slide
          slideNumber: false,

          // 'all', 'print', or 'speaker'
          showSlideNumber: 'all',

          // Add the current slide number to the URL hash so that reloading the
          // page/copying the URL will return you to the same slide
          hash: true,

          // Start with 1 for the hash rather than 0
          hashOneBasedIndex: false,

          // Flags if we should monitor the hash and change slides accordingly
          respondToHashChanges: true,

          // Push each slide change to the browser history
          history: true,

          // Enable keyboard shortcuts for navigation
          keyboard: true,

          // Enable the slide overview mode
          overview: true,

          // Disables the default reveal.js slide layout (scaling and centering)
          // so that you can use custom CSS layout
          disableLayout: false,

          // Vertical centering of slides
          center: false,

          // Enables touch navigation on devices with touch input
          touch: true,

          // Loop the presentation
          loop: ---LOOP---,

          // Change the presentation direction to be RTL
          rtl: false,

share/templates/html/main.html  view on Meta::CPAN

          mouseWheel: false,

          // The display mode that will be used to show slides
          display: 'block',

          // Hide cursor if inactive
          hideInactiveCursor: true,

          // Time before the cursor is hidden (in ms)
          hideCursorTime: 5000,

          // Opens links in an iframe preview overlay
          previewLinks: false,

          // Transition style (none/fade/slide/convex/concave/zoom)
          transition: 'none',

          // Transition speed (default/fast/slow)
          transitionSpeed: 'default',

          // Transition style for full page slide backgrounds
          // (none/fade/slide/convex/concave/zoom)
          backgroundTransition: 'none',

          // Number of slides away from the current that are visible
          viewDistance: 7,

          // Number of slides away from the current that are visible on mobile
          // devices. It is advisable to set this to a lower number than
          // viewDistance in order to save resources.
          mobileViewDistance: 3,

          // The "normal" size of the presentation, aspect ratio will be preserved
          // when the presentation is scaled to fit different resolutions. Can be
          // specified using percentage units.
          width: ---CANVASWIDTH---,

          height: ---CANVASHEIGHT---,

          // Factor of the display size that should remain empty around the content
          margin: 0.0,

          math: {
              mathjax: 'https://cdn.jsdelivr.net/npm/mathjax@2.7.9/MathJax.js',
              config: 'TeX-AMS_HTML-full',
              tex2jax: {
		  inlineMath: [['\\(','\\)']],
		  displayMath: [['\\[','\\]']],
		  balanceBraces: true,
		  processEscapes: false,
		  processRefs: true,
		  processEnvironments: true,
		  preview: 'TeX',
		  skipTags: ['script','noscript','style','textarea','pre','code'],
		  ignoreClass: 'tex2jax_ignore',
		  processClass: 'tex2jax_process'
              },
          },

          // reveal.js plugins
          plugins: [QuartoLineHighlight, PdfExport, RevealMenu, QuartoSupport,

		    RevealMath,
		    RevealNotes,
		    RevealSearch,
		    RevealZoom
		   ]
      });
      </script>
    <script id="quarto-html-after-body" type="application/javascript">
      window.document.addEventListener("DOMContentLoaded", function (event) {
          const tabsets =  window.document.querySelectorAll(".panel-tabset-tabby")
          tabsets.forEach(function(tabset) {
              const tabby = new Tabby('#' + tabset.id);
          });
          const isCodeAnnotation = (el) => {
              for (const clz of el.classList) {
		  if (clz.startsWith('code-annotation-')) {                     
		      return true;
		  }
              }
              return false;
          }
          const onCopySuccess = function(e) {
              // button target
              const button = e.trigger;
              // don't keep focus
              button.blur();
              // flash "checked"
              button.classList.add('code-copy-button-checked');
              var currentTitle = button.getAttribute("title");
              button.setAttribute("title", "Copied!");
              let tooltip;
              if (window.bootstrap) {
		  button.setAttribute("data-bs-toggle", "tooltip");
		  button.setAttribute("data-bs-placement", "left");
		  button.setAttribute("data-bs-title", "Copied!");
		  tooltip = new bootstrap.Tooltip(button, 
						  { trigger: "manual", 
						    customClass: "code-copy-button-tooltip",
						    offset: [0, -8]});
		  tooltip.show();    
              }
              setTimeout(function() {
		  if (tooltip) {
		      tooltip.hide();
		      button.removeAttribute("data-bs-title");
		      button.removeAttribute("data-bs-toggle");
		      button.removeAttribute("data-bs-placement");
		  }
		  button.setAttribute("title", currentTitle);
		  button.classList.remove('code-copy-button-checked');
              }, 1000);
              // clear code selection
              e.clearSelection();
          }
          const getTextToCopy = function(trigger) {
              const outerScaffold = trigger.parentElement.cloneNode(true);
              const codeEl = outerScaffold.querySelector('code');
              for (const childEl of codeEl.children) {
		  if (isCodeAnnotation(childEl)) {



( run in 1.288 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )