Hanks10100 opened a new pull request #263: Create source code plugin for 
vuepress
URL: https://github.com/apache/incubator-weex-site/pull/263
 
 
   Create a `SourceCode` plugin to render code from weex online editor.
   
   For example, you can just write this code in the markdown:
   
   ```html
   <source-code hash="3488279c3502d1234b437c2f718f3a55" />
   ```
   
   It will be converted into the iframe block to show the corresponding codes 
with highlight. (http://dotwe.org/source/3488279c3502d1234b437c2f718f3a55)
   
   Supported props:
   
   + `hash`: The hash code within the address of weex online editor.
   + `line`: Specifies what lines to display, could be a single number or a 
range (`8` or `2-10`).
   
   Another Example:
   
   ```html
   <source-code hash="3488279c3502d1234b437c2f718f3a55" line="3-7" />
   ```
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to