## SuCodeViewer


### 导入使用
```code[javascript]
import SuCodeViewer from "ss-universal-client-web/comp/code/su-code-viewer";
```

:::demo 
```html
<template>
    <su-code-viewer :code="jsContent"></su-code-viewer>
</template>
<script>
export default {
    components:{
        SuCodeViewer
    },
    data() {
        return {
            "jsContent" : `var a=123;function aaa(){debugger;alert();}`
        }
    }
};
</script>
```
:::


### Attributes
| 参数      | 说明          | 类型      | 可选值                           | 默认值  |
|---------- |-------------- |---------- |--------------------------------  |-------- |
| code     | 代码           | string | — | — |
| mode | 代码模式 | string | javascript/html/css | javascript |

