mirror of
https://github.com/wassname/multifit.git
synced 2026-10-28 13:10:15 +08:00
Fixes #25 by adding article title in markdown format to wiki text
This commit is contained in:
1 parent
4a858f3572
commit
0945c699c7
1 file changed
+1
-1
@@ -24,7 +24,7 @@ def get_texts(root):
|
||||
if text.strip() == title:
|
||||
# print('No content continuing...')
|
||||
continue
|
||||
yield text
|
||||
yield (f"={title}=\n"+text)
|
||||
|
||||
|
||||
def write_wikitext(file_path, text_iter, mt, num_tokens, mode='w'):
|
||||
|
||||
Reference in new issue
Block a user