Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add item.id to use as syntax lookup widget slug#163

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ryyppy merged 1 commit intorescript-lang:syntax-lookup-toolfromkevanstannard:syntax-lookup-widget-slug
Jan 3, 2021
Merged

Add item.id to use as syntax lookup widget slug#163

ryyppy merged 1 commit intorescript-lang:syntax-lookup-toolfromkevanstannard:syntax-lookup-widget-slug
Jan 3, 2021

Conversation

@kevanstannard
Copy link
Contributor

@kevanstannardkevanstannard commentedJan 3, 2021
edited
Loading

Suggestion for#162

TheGithubSlugger seems to convert non alphanumeric characters to hyphens.

For example(.) => {} is converted to--.

Which results the URL/syntax-lookup#--

What do you think about introducing anid field into the items? This would need to be unique for each item, but would provide a convenient field for converting to a slug.

Which would then enable URLs such as/syntax-lookup#uncurried-function

@ryyppyryyppy merged commit90ee93f intorescript-lang:syntax-lookup-toolJan 3, 2021
@ryyppy
Copy link
Member

ryyppy commentedJan 3, 2021
edited
Loading

Yeah that's better.
Note we will most likely extract that meta data into the frontmatter of each doc file instead (just so you know)

kevanstannard reacted with thumbs up emoji

@kevanstannardkevanstannard deleted the syntax-lookup-widget-slug branchJanuary 3, 2021 10:19
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@kevanstannard@ryyppy

[8]ページ先頭

©2009-2025 Movatter.jp