Fix broken links in documentation.
This commit is contained in:
@ -12,14 +12,14 @@ const doc = new Document({
|
||||
new Paragraph({
|
||||
text: "Bullet points",
|
||||
bullet: {
|
||||
level: 0 //How deep you want the bullet to be
|
||||
}
|
||||
level: 0 //How deep you want the bullet to be
|
||||
}
|
||||
}),
|
||||
new Paragraph({
|
||||
text: "Are awesome",
|
||||
bullet: {
|
||||
level: 0
|
||||
}
|
||||
level: 0
|
||||
}
|
||||
})
|
||||
],
|
||||
}];
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
> Everything (text, images, graphs etc) in OpenXML is organized in paragraphs.
|
||||
|
||||
!> Paragraphs requires an understanding of [Sections](sections.md).
|
||||
!> Paragraphs requires an understanding of [Sections](usage/sections.md).
|
||||
|
||||
You can create `Paragraphs` in the following ways:
|
||||
|
||||
@ -16,7 +16,7 @@ const paragraph = new Paragraph("Short hand Hello World");
|
||||
|
||||
### Children Method
|
||||
|
||||
This method is useful for adding different [text](text.md) with different styles, [symbols](symbols.md), or adding [images](images.md) inline.
|
||||
This method is useful for adding different [text](usage/text.md) with different styles, [symbols](usage/symbols.md), or adding [images](usage/images.md) inline.
|
||||
|
||||
```ts
|
||||
const paragraph = new Paragraph({
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Symbol Runs
|
||||
|
||||
!> SymbolRuns require an understanding of [Paragraphs](paragraph.md).
|
||||
!> SymbolRuns require an understanding of [Paragraphs](usage/paragraph.md).
|
||||
|
||||
You can add multiple `symbol runs` in `Paragraphs` along with [text runs](text.md) using the Paragraph's `children` property.
|
||||
You can add multiple `symbol runs` in `Paragraphs` along with [text runs](usage/text.md) using the Paragraph's `children` property.
|
||||
|
||||
```ts
|
||||
import { Paragraph, TextRun, SymbolRun } from "docx";
|
||||
@ -50,4 +50,4 @@ const symbol = new SymbolRun({
|
||||
});
|
||||
```
|
||||
|
||||
See the [text run](text.md) documentation for more info.
|
||||
See the [text run](usage/text.md) documentation for more info.
|
||||
|
Reference in New Issue
Block a user