jsx-lexer:用于pygments的JSX词法分析器

时间:2021-05-19 18:39:21
【文件属性】:
文件名称:jsx-lexer:用于pygments的JSX词法分析器
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-19 18:39:21
python docs jsx pygments sphinx jsx-lexer 用于Pygments的JSX词法分析器 安装 $ pip install jsx-lexer 与狮身人面像一起使用 要在Sphinx中使用,只需为您的code-block指定jsx : .. code-block:: jsx const BlogTitle = ({ children }) => (

{children}

); // class component class BlogPost extends React.Component { renderTitle(title) { return {title} }; render() { return ( <div cl
【文件预览】:
jsx-lexer-master
----setup.py(893B)
----.gitignore(84B)
----jsx()
--------__init__.py(61B)
--------lexer.py(2KB)
----Makefile(132B)
----.travis.yml(241B)
----MANIFEST.in(48B)
----LICENSE(1KB)
----setup.cfg(231B)
----README.rst(2KB)
----tests()
--------__init__.py(0B)
--------example.jsx(1KB)
--------tokens.py(10KB)
--------test_lexer.py(7KB)
----.coveragerc(84B)

网友评论