Skip to content

[FEAT] + View MarkMap [Solved] #24139

Closed
Closed
@editfund-founder

Description

@editfund-founder

Needs and benefits

Feature Description

...
View Source
- View Rendered
+ View Rendered
+ View MarkMap
Raw
Permalink
...

Screenshots

Visualize your Markdown as mindmaps with Markmap

References & Solutions

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}}

实现了外接“文件查看与编辑”

跳转到了“第三方编辑器”

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions