added margin, so that generated pdfs have the correct layout
This commit is contained in:
		
							parent
							
								
									70851726f6
								
							
						
					
					
						commit
						502a8b34b2
					
				| 
						 | 
				
			
			@ -2,4 +2,6 @@
 | 
			
		|||
 | 
			
		||||
pandoc -s --mathml -i -t revealjs sql_injection.md -V theme=simple -o presentation.html --css=./robot-lung.css
 | 
			
		||||
 | 
			
		||||
sed  -i 's|<body>|<body>\n<div class="line top"></div>\n<div class="line bottom"></div>\n<div class="line left"></div>\n<div class="line right"></div>\n|' presentation.html
 | 
			
		||||
sed -i 's|<body>|<body>\n<div class="line top"></div>\n<div class="line bottom"></div>\n<div class="line left"></div>\n<div class="line right"></div>\n|' presentation.html
 | 
			
		||||
 | 
			
		||||
sed -i 's/Reveal.initialize({/Reveal.initialize({\n       margin: 0.2,/' presentation.html
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -237,6 +237,7 @@ Room</a>.</p></li>
 | 
			
		|||
      // Full list of configuration options available at:
 | 
			
		||||
      // https://revealjs.com/config/
 | 
			
		||||
      Reveal.initialize({
 | 
			
		||||
       margin: 0.2,
 | 
			
		||||
        // Display controls in the bottom right corner
 | 
			
		||||
        controls: true,
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue