-
I'm converting XDXF -> Aard2 Slob. I would like to add my custom styles to every XDXF article for proper formatting. How do I do it, @ilius? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I don't think pyglossary tool is the place to do it. Best way is to write a script that uses pyglossary library to read xdxf, reads your css files, add them to description and at the end, write it to slob (using pyglossary or slob's lib). How large can your files be? |
Beta Was this translation helpful? Give feedback.
-
Make sure your css path is correct when you convert txt to slob. |
Beta Was this translation helpful? Give feedback.
Then it's easy. Convert to txt, then open with an editor and replace tab char with tab +
<!DOCTYPE html><html><head><link rel="stylesheet" href="style.css"></head><body>
And place style.css in test.txt_res directory if your file is test.txt for example.
Then cinvert to slob.