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
Enable external links via #section-title #39
Comments
Before this, it was only possible to have external links that were refering to a certain section number, thus: https://liascript.../?https://course-url...#12 now it is also possible to use section titles as fragments https://liascript.../?https://course-url...#section-title Issue: #39
Before this, it was only possible to have external links that were refering to a certain section number, thus: https://liascript.../?https://course-url...#12 now it is also possible to use section titles as fragments https://liascript.../?https://course-url...#section-title Issue: #39
This is maybe an individual feature request but it seems to be relevant to this one: Would this be possible to implement for liascript too? |
Actually this is an interesting feature request ... I have look at some elm-projects, how something similar could be achieved. It is actually a new feature request... Originally I wanted to add a way, so that you can easily link to sections, as it is also done on github or on most websites via At the moment I had no real beautiful idea, that works well with standard-Markdown. So I was only thinking out l***writing... Another idea, related to you feature, was also to add something like a column-view for larger screens that mirror some kind of newspaper... It worked somehow, nicely with the HTML column-attributes, but it had some issues, where we would require some kind of typesetting capabilities like in Tex or at least some optimizations ... |
Is it possible to link to other markdown files and get the rendered result and not the raw text? |
@BeastyBlacksmith Hi, what do you mean by rendered result?
Hope this helps... |
Yes, I was looking for this |
This is not possible atm ... It will require to change the entire parsing process, but it is definitely something that we also have in mind for the future ... |
1. Link to sections via #section-title
Currently sections are identified by numbers as URL-fragments
?https://course-url#slideNumber
. It is possible to use the slide number as local references[link](#123)
but it is also possible to use title tags[link](#some-title)
. However, linking to a certain section from another website or course, is currently only possible via section numbers. By using section-titles, linking would still work even if the structure of the course has changed.Thus, linking to slides should be possible via:
https://liascript.../?course-url#12
https://liascript.../?course-url#section-title
2. Link to fragments (animation steps)
A section can contain multiple fragments, that are currently visible only in Presentation-mode. It could be beneficial to provide also references to these "subsections" such as
[link](#section-title;fragmentNumber)
and also to allow external links to point to specific animation steps. However, this breaks the common Markdown semantic and would not be compatible to other Markdown reader/interpreter anymore.Maybe the fragment could be provided as part of the link title, that is then interpreted a bit differently:
[fragment-2](#section-title)
The text was updated successfully, but these errors were encountered: