我尝试过以下代码语句来显示网址:
#lang scribble/base
@title{Testing Hyperlinks}
@section{URLs}
Getting started: @hyperlink["https://docs.racket-lang.org/scribble/getting-started.html"]
Getting started: @hyperlink{"https://docs.racket-lang.org/scribble/getting-started.html"}
Getting started: @(hyperlink "https://docs.racket-lang.org/scribble/getting-started.html")
使用命令生成html页面时没有任何错误" $ scribble hyperlinks.scrbl"但它没有显示任何超链接语句的URL:
Testing Hyperlinks
1 URLs
Getting started:
Getting started:
Getting started:
生成的html文件包含以下链接:
<p>Getting started:</p><p><a href=""https://docs.racket-lang.org/scribble/getting-started.html""></a></p>
问题出在哪里?如何更正此错误?