GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(app): keep bare slash as plain inline code (#34122) · gateway/opencode@cd56c51

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/session-ui/src/components
    • markdown-inline-code-kind.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/session-ui/src/components/markdown-inline-code-kind.ts‎

Copy file name to clipboardExpand all lines: packages/session-ui/src/components/markdown-inline-code-kind.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export function inlineCodeKind(text: string): "path" | "url" | undefined {
22
if (/^https?:\/\//i.test(text)) return "url"
33
if (/^[a-z][a-z0-9+.-]*:\/\//i.test(text)) return
4+
if (text === "/") return
45
if (/^\/[a-z][a-z0-9-]*$/i.test(text)) return
56
if (/\s/.test(text)) return
67
if (/[()\[\]{}*+=<>|&^"';]/.test(text)) return

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.