-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Needs and benefits
- mindmaps of My Stars
- mindmaps of Repos | "My repositories" sorting
- mindmaps of Issues
- mindmaps of misc
Feature Description
...
View Source
- View Rendered
+ View Rendered
+ View MarkMap
Raw
Permalink
...
Screenshots
References & Solutions
- https://markmap.js.org/repl
- https://docs.gitea.com/administration/external-renderers
- https://discourse.gitea.io/t/how-to-render-jupyter-notebooks-on-gitea-blog/5134/2
- https://blog.gitea.io/2022/04/how-to-render-jupyter-notebooks-on-gitea/
- Allow render HTML with css/js external links #19017
view_file.tmpl
{{if .HasSourceRenderedToggle}}
<div class="ui compact icon buttons two-toggle-buttons">
<a href="{{$.Link}}?display=source" class="ui mini basic button tooltip {{if .IsDisplayingSource}}active{{end}}" data-content="{{.locale.Tr "repo.file_view_source"}}" data-position="bottom center">{{svg "octicon-code" 15}}</a>
<a href="{{$.Link}}" class="ui mini basic button tooltip {{if .IsDisplayingRendered}}active{{end}}" data-content="{{.locale.Tr "repo.file_view_rendered"}}" data-position="bottom center">{{svg "octicon-file" 15}}</a>
+ <a href='{{AppSubUrl}}/assets/API-Editor/index.html?{{AppSubUrl}}{{$.RawFileLink}}' class="ui mini basic button">{{svg "octicon-eye" 15}}</a>
</div>
{{end}}
{{if not .ReadmeInList}}
rockswangdelvh and eeyrjmr
Metadata
Metadata
Assignees
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.