A mirror of my website's source code.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

Added strike ext. to MD2

steve0greatness,
created on Monday, 19 February 2024, 03:06:53 (1708312013), received on Monday, 6 May 2024, 02:55:38 (1714964138)
Author identity: Steve0Greatness <steve0greatnessiscool@gmail.com>

ba8e7fc627287aa048408b7df8da860fd616de1c

Renderers.py

@@ -7,8 +7,8 @@ def RenderTemplate(TemplateFileName: str, *args, **kwargs):

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                """Renders a Jinja2 template from a file."""
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                return __TemplateRenderer__.get_template(TemplateFileName).render(*args, **kwargs)
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        __MDRenderer__ = MDEnv(extras=["header-ids", "metadata", "markdown-in-html", "code-friendly", "footnotes", "fenced-code-blocks"], footnote_title="Jump back to footnote %d in the text.", footnote_return_symbol="&#8617;")
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        __MDRenderer__ = MDEnv(extras=["header-ids", "metadata", "markdown-in-html", "code-friendly", "footnotes", "fenced-code-blocks", "strike"], footnote_title="Jump back to footnote %d in the text.", footnote_return_symbol="&#8617;")
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            def RenderMarkdown(MDSource: str):
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                """Renders Markdown, but pre-configured."""
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            return __MDRenderer__.convert(MDSource)
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            return __MDRenderer__.convert(MDSource)