Latex 中插入网址(GitHub代码)

在写论文时候,一般在摘要公开自己的代码
1. 导入所需要的包

\usepackage[colorlinks,bookmarksopen,bookmarksnumbered,citecolor=green, linkcolor=red, urlcolor=green]{hyperref}

2. 插入相关语句

\href{网站}{标题} 

举例子

\href{https://blog.csdn.net/qq_40721108/article/details}{博客} 

注意:不能给超链接上高亮,会一直报错

你可能感兴趣的:(latex,彩色化问题,人工智能,template,method)