-
Notifications
You must be signed in to change notification settings - Fork 112
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
Suggestion for Including Code #998
Comments
Hello @alfaromartino thanks for the feedback, just to check, are you aware that Franklin does handle literate files (docs: https://franklinjl.org/extras/literate/) and would this kind of address your point of
As an aside, Franklin.jl is in a frozen state, the new version (currently available at Xranklin.jl) is a complete rewrite and will be the next Franklin version |
I know that it could handle Literate but, since I never used it, I ignored it. It seems that it's what I was describing!!! I'll take a lookn into it. It seems it's not automatic, but it can address this. I'm aware of Xranklin. The comment was to provide some feedback, just in case it was useful for Xranklin ( the Thanks for your work! |
Thanks for this great package!!
I had a suggestion after working for several months with Franklin (actually PkgPage). Everything runs quite smoothly for me, except when it comes to including code. So far, there are two options for doing this: i) introducing code directly into the text, or ii) creating a code file that is eventually called in the text.
I thought that a third option would be valuable: writing a file with ALL scripts to include, with tags to separate them.
![01](https://user-images.githubusercontent.com/50346244/220528028-d665ec7c-283b-4d53-8844-2d0763667f5f.png)
MWE
This is how you'd write the code
This is how you'd include the code on text
![02](https://user-images.githubusercontent.com/50346244/220528805-f0cdab1e-3a2a-4301-8a7e-1408dd6290c1.png)
This option is especially useful if you've worked on a project and want to create a website explaining the code snippets (or if you wrote code without the intention of creating a website, creating an ideal alternative to Jupyter) More generally, I think it'd also make writing the code more smoothly.
Thanks again for all your work!
The text was updated successfully, but these errors were encountered: