iuap-design / blog

📖 用友网络大前端技术团队博客
Apache License 2.0
939 stars 120 forks source link

让你的md文档可折叠化展示 #155

Open GuoYongfeng opened 7 years ago

GuoYongfeng commented 7 years ago

让你的md文档可折叠化展示

怎么写

## 问答

<details>
  <summary>什么是iuap design</summary>
  iuap design 是用友网络FED团队开发的企业级应用前端集成解决方案。
</details>

<details>
  <summary>什么是tinper</summary>

`tinper`是开源前端技术平台。
</details>

预览效果

问答

什么是iuap design iuap design 是用友网络FED团队开发的企业级应用前端集成解决方案。
什么是tinper `tinper`是开源前端技术平台。
编译后代码 /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ exports: {}, /******/ id: moduleId, /******/ loaded: false /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.loaded = true; /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ // Load entry module and return exports /******/ return __webpack_require__(0); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ function(module, exports, __webpack_require__) { "use strict"; console.log("Hallo Welt"); console.log("Missing Text"); console.log("internationnal"); /***/ } /******/ ]);
kvkens commented 6 years ago

终于发现宝藏了可以隐藏起来了。

LeeYunhang commented 6 years ago

真是厉害了,照这个逻辑是不是可以在里面写 style 标签,美化自己的 md 呢?

RouderSky commented 6 years ago

为什么我复制粘贴进编辑器没有用?是不是要安装说明插件的?

HuYuee commented 6 years ago

@RouderSky 这个是在md格式的才可以,推荐Typora这个专门的md文档编辑器

Cyclone77 commented 5 years ago

很棒

metacybercat commented 4 years ago

太棒了

xcatliu commented 4 years ago

问答

什么是iuap design #### 测试
e71828 commented 4 years ago
2000

如何增大summary的字体?

yhsmy commented 3 years ago

能否折叠表格?

比如我的入参是一个对象A, A中有个属性是对象B. 通常情况下, 会写两个表格, 并在A中通过锚点跳转到B.

能否坐到点击表格中A的属性B来弹出B的表格?

Lanme commented 3 years ago

正常md可显示,导出到pdf就用不了了

nesteiner commented 3 years ago

@GuoYongfeng 请问有试过折叠html代码块吗,我在typora下怎么都不成功

youzizi1 commented 2 years ago
标题 内容
a2484567944 commented 2 years ago

换行还要自己打br的样子

cfdxkk commented 2 years ago

换行还要自己打br的样子

正文与标题之间空一行就好了