open-index/open-npm huggingface dataset:
npm package: @pangulc/build-plugin-lowcode
Description: build plugin for component-to-lowcode
Latest version: 1.0.0

## 概述

## 使用文档

```
export interface LowcodeOptions {
  builtinAssets?: Array<string|Assets>; // 会作为内置资产保存到构建产物中
  extraAssets?: Array<string|Assets>; // 只在调试环境加载到资产包中
  noParse?: boolean; // 关闭自动解析生成 lowcode meta
  categories?: string[]; // 组件在组件面板中的分类
  groups?: string[]; // 组件在组件面板中的 tab 分组
  baseLibrary?: 'react'|'rax';
  setterMap?: SetterMap; // 注入 setter
}

export interface SetterMap {
  [SetterName: string]: string;
}

```

## 开发调试

### 组件开发

`demo/component` 目录下是测试组件的项目，改项目引用了 build-plugin-lowcode ，相关配置在 `demo/component/build.lowcode.js` 中；

可以修改 build-plugin-lowcode 的代码、修改 demo/component/build.lowcode.js 的配置进行调试；

```
在 build-plugin-lowcode 根目录下执行启动调试环境
npm run component:dev
```
npm package: @pangwu86/markdown-it-disable-url-encode
Description: Forced decoding image src for non-ascii chars
Author: pangwu86
Latest version: 1.0.2

# markdown-it-disable-url-encode

> 本项目修改自 [nanyuantingfeng/markdown-it-disable-url-encode](https://github.com/nanyuantingfeng/markdown-it-disable-url-encode)
> 修正了一些 [兼容性问题](https://github.com/nanyuantingfeng/markdown-it-disable-url-encode/issues/6)

#### Getting Started

```shell
npm install --save-dev @pangwu86/markdown-it-disable-url-encode
```


#### Usage

```js 
  const md = require("markdown-it")();  
  md.use(require("@pangwu86/markdown-it-disable-url-encode"), "./")
  // md.use(require("@pangwu86/markdown-it-disable-url-encode"), "*")
  // md.use(require("@pangwu86/markdown-it-disable-url-encode"), ".")
  // md.use(require("@pangwu86/markdown-it-disable-url-encode"), [...])
  // md.use(require("@pangwu86/markdown-it-disable-url-encode"), /.../)        


  const html = md.render("![image.png](图片/image.png)")
  // <p><img src="./图片/image.png" alt="image.png" /></p> 
 
  // without markdown-it-disable-url-encode plugin :
  // <p><img src="%E5%9B%BE%E7%89%87/image.png" alt="image.png" /></p>  
```

#### API

config rules: 
0. `undefined` : use `rule 1` 
1. `"*"` :  all paths will be decode 

2. `"."`  :  relative paths only 

3. `"./"` :  relative paths only , just like `"."`

4. `string` :  as `string[]` to apply `rule 5`

5. `string[]` :  will be apply  `[].some()`  as result  for  detect if it needs to be decoded   

6. `REGEXP` :  will be apply  `/^/.test()` as result  for  detect if it needs to be decoded