- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for headingID (0.15 sec)
-
src/go/doc/comment/print.go
// HTML and Markdown headings. // If HeadingLevel is zero, it defaults to level 3, // meaning to use <h3> and ###. HeadingLevel int // HeadingID is a function that computes the heading ID // (anchor tag) to use for the heading h when generating // HTML and Markdown. If HeadingID returns an empty string, // then the heading ID is omitted. // If HeadingID is nil, h.DefaultID is used.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.6K bytes - Viewed (0) -
src/go/doc/comment/html.go
fmt.Fprintf(out, "?%T", x) case *Paragraph: if !p.tight { out.WriteString("<p>") } p.text(out, x.Text) out.WriteString("\n") case *Heading: out.WriteString("<h") h := strconv.Itoa(p.headingLevel()) out.WriteString(h) if id := p.headingID(x); id != "" { out.WriteString(` id="`) p.escape(out, id) out.WriteString(`"`) } out.WriteString(">") p.text(out, x.Text)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/heading.go
} func (b *Heading) printMarkdown(buf *bytes.Buffer, s mdState) { // TODO: handle setext headings properly. buf.WriteString(s.prefix) for i := 0; i < b.Level; i++ { buf.WriteByte('#') } buf.WriteByte(' ') // The prefix has already been printed for this line of text. s.prefix = "" b.Text.printMarkdown(buf, s) if b.ID != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 3.6K bytes - Viewed (0) -
pkg/test/framework/features/README.md
## Writing a Test Stub
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 19:13:32 UTC 2023 - 2.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
} } private void addAnchorsForHeadings(Document document) { // add anchors for all of the headings for (Element heading : document.body().select("h2,h3,h4")) { String anchorName = heading.text().toLowerCase().replaceAll(" ", "-"); heading.attr("id", anchorName); } } public void setJqueryFiles(Set<File> jqueryFiles) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 05:15:02 UTC 2024 - 7.6K bytes - Viewed (0) -
src/go/doc/headscan.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore /* The headscan command extracts comment headings from package files; it is used to detect false positives which may require an adjustment to the comment formatting heuristics in comment.go. Usage: headscan [-root root_directory]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 21:50:52 UTC 2022 - 2.5K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/0-heading.md
Jonathan Amsterdam <******@****.***> 1705947607 -0500
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 16:44:53 UTC 2024 - 60 bytes - Viewed (0) -
doc/initial/6-stdlib/99-minor/0-heading.md
Jonathan Amsterdam <******@****.***> 1705624488 -0500
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 18:07:49 UTC 2024 - 60 bytes - Viewed (0) -
doc/initial/6-stdlib/0-heading.md
Jonathan Amsterdam <******@****.***> 1705624488 -0500
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 18:07:49 UTC 2024 - 32 bytes - Viewed (0) -
doc/next/6-stdlib/0-heading.md
Russ Cox <******@****.***> 1710441773 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 03:39:16 UTC 2024 - 28 bytes - Viewed (0)