imba / imba/imba

Loading Markdown files content?

Open
#633 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
JavaScript
Stars
6.5k
Forks
183
Avg merge
4h 10m
Merged PRs (30d)
3

Description

### Description
+ How to load Markdown files as assets (i.e. reading it's content)
+ May be loading Markdown with imba components? just like `https://vuepress.vuejs.org/`

### Why
+ Then I want to compile it with some third party markdown compiler to HTML and embed into imba app.
+ It can help in writing documentations with imba components

### Possible Implementation & Open Questions
```imba
import readme from './README.md'

var htmlContent = compileToHtml(readme.content)

```

Thanks

Contributor guide

Open the contributing guide

Research direction

Start by examining how Imba currently imports and loads assets; the issue names no source files, entry points, or tests. Define the expected behavior for importing README.md content, including use from Imba components and compilation by a third-party Markdown compiler, then add coverage showing the requested workflow works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, markdown
Domain
build-system, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.