Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for paragraph (0.43 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

            return sections[0]
        }
    
        Element getDescription() {
            if (comment.isEmpty() || comment[0].tagName != 'para') {
                throw new RuntimeException("Class $className does not have a description paragraph.")
            }
            return comment[0]
        }
    
        PropertyDoc findProperty(String name) {
            return classProperties.find { it.name == name }
        }
    
        BlockDoc getBlock(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                if (propertyDoc.getDescription() == null) {
                    throw new RuntimeException(String.format("Docbook content for '%s.%s' does not contain a description paragraph.", classDoc.getName(), propName));
                }
    
                props.put(propName, propertyDoc);
            }
    
            for (PropertyDoc propertyDoc : props.values()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
Back to top