UNPKG

markdown-it-copy

Version:

A markdown-it-plugin that copy code and others.

46 lines (36 loc) 644 B
# Copy [Usage](https://github.com/ReAlign/markdown-it-copy#plugin) ## less ```less @fontsize: 12px; @lineHeight: @fontsize + 4px; .u-text { font-size: @fontsize; line-height: @lineHeight; } ``` ## json ```json { "name": "@json", "version": "0.0.1" } ``` ## html ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Demo</title> </head> <body> <header></header> <article></article> <footer></footer> </body> </html> ``` some normal text.