Skip to content

[FEAT] + View MarkMap [Solved] #24139

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

Closed
editfund-founder opened this issue Apr 15, 2023 · 1 comment
Closed

[FEAT] + View MarkMap [Solved] #24139

editfund-founder opened this issue Apr 15, 2023 · 1 comment
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@editfund-founder
Copy link
Contributor

editfund-founder commented Apr 15, 2023

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

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

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

@editfund-founder editfund-founder added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Apr 15, 2023
@delvh
Copy link
Member

delvh commented Apr 15, 2023

I don't quite see the benefit of this proposal:
Why would I want a mindmap of my markdown?
To me, this simply seems like unnecessary bloat, unless you can give me a really good reason why it isn't…

@editfund-founder editfund-founder changed the title [FEAT] + View MarkMap [FEAT] + View MarkMap [Solved] Apr 16, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

2 participants