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

Implement file_to_html #75

Closed
szabgab opened this issue Jul 31, 2023 · 3 comments
Closed

Implement file_to_html #75

szabgab opened this issue Jul 31, 2023 · 3 comments

Comments

@szabgab
Copy link

szabgab commented Jul 31, 2023

The old crate with the same name had this convenience function that would read the content of a file and then call to_html on it.
It would be nice to add it to the new crate as well.

@wooorm
Copy link
Owner

wooorm commented Jul 31, 2023

Hi! I understand the desire but personally I’m a fan of “unix philosophy” “do one thing and do it well” kinda open source. Reading files gets complex. Other tools are better at doing that. This thing is about markdown -> html or ast, not about all the intricacies of file systems and such! It’s also [no_std] + alloc, so fs might not be there?

@wooorm wooorm closed this as not planned Won't fix, can't repro, duplicate, stale Jul 31, 2023
@szabgab
Copy link
Author

szabgab commented Aug 1, 2023

After opening this issue I tried to implement it and then I noticed the [no_std] that makes it rather hard :-)
I understand your point.
I think it is still useful to have such convenience functions. So I am thinking of creating a crate that provides those functions and uses this crate as its 'back-end'. Would you have any suggestions for the name of such crate?

@wooorm
Copy link
Owner

wooorm commented Aug 1, 2023

markdown-fs? 😅

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