Compare commits
	
		
			No commits in common. "dc48cd411c31afdb220793fe22c11d12dcae0c13" and "8ad8f73fea03c0e6ccbb3929783db93c6c60f4d1" have entirely different histories.
		
	
	
		
			dc48cd411c
			...
			8ad8f73fea
		
	
		
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -291,7 +291,7 @@ class HTMLGenerator(OutputGenerator):
 | 
				
			||||||
		self.writeln("<!-- FIXME: Citations not implemented -->")
 | 
							self.writeln("<!-- FIXME: Citations not implemented -->")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	def generate_Cite(self, e: Cite):
 | 
						def generate_Cite(self, e: Cite):
 | 
				
			||||||
		self.generate_simple_tag(e, tag="a", attributes=self.common_attributes(e) | {"href": f"#ref-{e.citations[0].id}"})
 | 
							self.writeln("<!-- FIXME: Cites not implemented -->")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	def generate_Definition(self, e: Definition):
 | 
						def generate_Definition(self, e: Definition):
 | 
				
			||||||
		self.writeln("<!-- FIXME: Definitions not implemented -->")
 | 
							self.writeln("<!-- FIXME: Definitions not implemented -->")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -37,7 +37,7 @@ def parse_string(s: str) -> list[Union[Str, Space]]:
 | 
				
			||||||
# we ever want to disable or enable some of panflute's markdown extensions,
 | 
					# we ever want to disable or enable some of panflute's markdown extensions,
 | 
				
			||||||
# this is the place to do it.
 | 
					# this is the place to do it.
 | 
				
			||||||
def import_md(s: str, standalone: bool=True) -> Union[Doc, list[Element]]:
 | 
					def import_md(s: str, standalone: bool=True) -> Union[Doc, list[Element]]:
 | 
				
			||||||
	return convert_text(s, standalone=standalone, input_format="markdown-definition_lists-latex_macros")
 | 
						return convert_text(s, standalone=standalone, input_format="markdown-definition_lists-citations-latex_macros")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def import_md_list(s: str) -> list[Element]:
 | 
					def import_md_list(s: str) -> list[Element]:
 | 
				
			||||||
	return import_md(s, standalone=False)
 | 
						return import_md(s, standalone=False)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue