You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by "liuxiaocs7 (via GitHub)" <gi...@apache.org> on 2023/05/11 16:45:06 UTC

[GitHub] [incubator-hugegraph-doc] liuxiaocs7 opened a new pull request, #215: docs: add code highlight support

liuxiaocs7 opened a new pull request, #215:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/215

   - add `json`、`scala`、`groovy` support
   
   - set `guessSyntax = "true"` to ensure that all text wrapped in code blocks has the same font and size
   
   before: https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+csharp+cpp+go+java+markdown+python+scss+sql+toml+yaml&plugins=toolbar+copy-to-clipboard
   
   ![image](https://github.com/apache/incubator-hugegraph-doc/assets/42756849/4ef7340f-562f-42e5-8cee-c5730822df94)
   
   after:
   https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+csharp+cpp+csv+go+groovy+java+json+markdown+python+scss+scala+sql+toml+yaml&plugins=toolbar+copy-to-clipboard
   <img width="426" alt="Snipaste_2023-05-12_00-33-12" src="https://github.com/apache/incubator-hugegraph-doc/assets/42756849/985a5fbb-6493-4e37-b986-aa56a328225f">
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-hugegraph-doc] imbajin merged pull request #215: website: support more code highlight & enable guessSyntax

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin merged PR #215:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/215


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org