- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for paragraph (0.13 sec)
-
src/cmd/vendor/rsc.io/markdown/para.go
pos := p.pos() pos.EndLine = pos.StartLine + len(b.text) - 1 return &Paragraph{ pos, p.newText(pos, s), } } func newPara(p *parseState, s line) (line, bool) { // Process paragraph continuation text or start new paragraph. b := p.para() indented := p.lineDepth == len(p.stack)-2 // fully indented, not playing "pargraph continuation text" games text := s.trimSpaceString() if b != nil && b.table != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/documentation/docs-asciidoctor-extensions-base/src/test/groovy/org/gradle/docs/asciidoctor/ExampleSelfLinkProcessorTest.groovy
<div class="title">Example 1. <a href="#ex-example-title-with-code">Example Title <code>with code</code></a></div> <div class="content"> <div class="paragraph"> <p>some text</p> </div> </div> </div>""") } def "renders example without title"() { given: String asciidocContent = """ ==== some text ==== """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/list.go
if c, ok := p.nextB().(*listBuilder); ok { list = c } if list == nil || list.bullet != rune(bullet) { // “When the first list item in a list interrupts a paragraph—that is, // when it starts on a line that would otherwise count as // paragraph continuation text—then (a) the lines Ls must // not begin with a blank line, // and (b) if the list item is ordered, the start number must be 1.”
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 7.2K bytes - Viewed (0) -
src/go/doc/comment/parse.go
// Content is the list content. // Currently, restrictions in the parser and printer // require every element of Content to be a *Paragraph. Content []Block // Content of this item. } // A Paragraph is a paragraph of text. type Paragraph struct { Text []Text } func (*Paragraph) block() {} // A Code is a preformatted code block. type Code struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 33.5K bytes - Viewed (0) -
src/go/doc/synopsis.go
"author", } // Synopsis returns a cleaned version of the first sentence in text. // That sentence ends after the first period followed by space and not // preceded by exactly one uppercase letter, or at the first paragraph break. // The result string has no \n, \r, or \t characters and uses only single // spaces between words. If text starts with any of the [IllegalPrefixes], // the result is the empty string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 2.2K bytes - Viewed (0) -
JavadocStyleGuide.md
- The first sentence is a summary. - Notice the inline tag `{@link URL}`, which converts to an HTML hyperlink pointing to the documentation for the URL class. - If you have more than one paragraph in the doc comment, separate the paragraphs with a `<p>` paragraph tag, as shown. - Insert a blank comment line between the description and the list of tags, as shown.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 15:43:07 UTC 2024 - 11.5K bytes - Viewed (0) -
src/go/doc/comment/testdata_test.go
dumpNL(out, indent) dumpTo(out, indent, item) } case *ListItem: fmt.Fprintf(out, "Item Number=%q", x.Number) dumpTo(out, indent+1, x.Content) case *Paragraph: fmt.Fprintf(out, "Paragraph") dumpTo(out, indent+1, x.Text) case *Code: fmt.Fprintf(out, "Code") dumpTo(out, indent+1, x.Text) case []Text: for _, t := range x { dumpNL(out, indent)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 4.5K bytes - Viewed (0) -
src/go/doc/comment/print.go
} return true } // block prints the block x to out. func (p *commentPrinter) block(out *bytes.Buffer, x Block) { switch x := x.(type) { default: fmt.Fprintf(out, "?%T", x) case *Paragraph: p.text(out, "", x.Text) out.WriteString("\n") case *Heading: out.WriteString("# ") p.text(out, "", x.Text) out.WriteString("\n") case *Code: md := x.Text for md != "" {
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/cmd/vendor/golang.org/x/build/relnote/dump.go
dumpBlock(b, depth) } } func dumpBlock(b md.Block, depth int) { typeName := strings.TrimPrefix(fmt.Sprintf("%T", b), "*markdown.") dprintf(depth, "%s\n", typeName) switch b := b.(type) { case *md.Paragraph: dumpInlines(b.Text.Inline, depth+1) case *md.Heading: dumpInlines(b.Text.Inline, depth+1) case *md.List: dumpBlocks(b.Items, depth+1) case *md.Item: dumpBlocks(b.Blocks, depth+1) default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/heading.go
return s[i+2 : j], s[:i] } func newSetextHeading(p *parseState, s line) (line, bool) { var n int peek := s if p.nextB() == p.para() && peek.trimSetext(&n) { p.closeBlock() para, ok := p.last().(*Paragraph) if !ok { return s, false } p.deleteLast() p.doneBlock(&Heading{Position{para.StartLine, p.lineno}, n, para.Text, ""}) return line{}, true } return s, false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 3.6K bytes - Viewed (0)