Cimbali / Cimbali/markdown-viewer

Support `file:` URLs (and absolute paths) for images

Open
#92 6 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
177
Forks
25
PR merge metrics
No merged PRs in 30d

Description

The [markdown reference site](https://www.markdownguide.org/basic-syntax/#images-1) lists the common markdown syntax for images as the same as a link, i.e.
```
[link text](http://link.target)
```
but with a preceding !, e.g.
```
![image alt text](http://image.jpg "image hover text")
```

This should be relatively easy to implement: when matching that pattern in the source markdown, inject an HTML [`` tag](https://www.w3schools.com/html/html_images.asp) to the rendered HTML.

When I get time I plan on working on this.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests. Start by locating the markdown-to-HTML handling for the shown image syntax, including file: URLs and absolute paths; done means those inputs render as HTML image elements.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript, markdown
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.