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

Accessing the html code for a Twine story without an external download #1511

Open
2 of 3 tasks
breeeeezy97 opened this issue Mar 28, 2024 · 4 comments
Open
2 of 3 tasks
Labels
enhancement New feature or request P4 (maybe) Cosmetic bugs, enhancements that may not fit with Twine's scope

Comments

@breeeeezy97
Copy link

Is your feature request related to a problem? Please describe.

The problem is, my host school has removed access to the downloads meaning my students will not be able to publish to file and get the html code.

Describe the solution you'd like.

I am not good with coding so I have no idea if this is possible (Please delete if not). Would it be possible to have the code for the twine available without downloading anything? Something like a live box that tracks the code of the twine in real time as it is being edited that is copiable without having to publish the twine?

Describe alternatives you've considered.

Don't know if there is a possible other solution or feature, kind of new to this

Additional context on this suggestion.

Hello, new to Github but have been using twine a couple of months. I am a student teacher who wants to use Twine in an activity for my students. The goal is to have them write a story with 4 endings (2 forks) that they will present to the class in the form of a game the class will play on a Google Site. I know how to get the html code using the publish to file option which can then be pasted into the embed feature of Google Sites.

Presubmission checklist

  • I am interested in working on code that would implement this feature request. (This is not required to submit a suggestion.)
  • I have done a search and believe that an issue does not already exist for this idea in the GitHub repository.
  • I have read and agree to abide by this project's Code of Conduct.
@breeeeezy97 breeeeezy97 added the enhancement New feature or request label Mar 28, 2024
@klembot
Copy link
Owner

klembot commented Apr 2, 2024

It'd be possible to have a text field you could copy HTML source code out of instead of a download, but this is an unusual use case (it seems really draconian, but I get that you don't have any control over this). I'm curious if there are any other people out there that want a feature similar to this.

@klembot klembot added the P4 (maybe) Cosmetic bugs, enhancements that may not fit with Twine's scope label Apr 2, 2024
@breeeeezy97
Copy link
Author

I know it is a very specific case. What if it was a toggle where if you need it, it is there. I'm thinking something like the proof button but for the code. Again, I have no idea how to code but it seems to me that the proof button is a live update feature with a toggle that the code feature could emulate. Thank you for the reply by the way!

@KlausMikhaelson
Copy link

@klembot this sounds like a really cool feature which can make it more accessible.
If the issue gets approved, I would be really interested in working on it!

@klembot
Copy link
Owner

klembot commented Apr 27, 2024

@KlausMikhaelson what UI do you envision for this? That's the main thing here, I think, because I feel like is likely to be infrequently used, so it shouldn't be that prominent, but at the same time available for those who do need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P4 (maybe) Cosmetic bugs, enhancements that may not fit with Twine's scope
Projects
None yet
Development

No branches or pull requests

3 participants