Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media support #1

Open
ShadyMedic opened this issue Jan 18, 2021 · 3 comments
Open

Media support #1

ShadyMedic opened this issue Jan 18, 2021 · 3 comments

Comments

@ShadyMedic
Copy link

I like the style of the output, but would it be possible to embed media files into it, instead of just IMG and VID strings?

I can imagine it as adding the binary files as base64 encoded or they would be copied to a new folder in the outputs folder and the .html file would contain only links to them. Or even better, it could be all compiled in a .mhtml file. Perhaps the user could be even given a choice.

@ace-racer
Copy link
Owner

I am thinking of linking to these media files in the output if they are available (via href/ similar) along with the text file in the input location. Let me know what you think.

@ShadyMedic
Copy link
Author

Well, it's the least portable option, since the export will consist of multiple files, but most of the time, it should be enough.

@ace-racer
Copy link
Owner

ok, I will try to implement this by end of the week! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants