Skip to content

Commit

Permalink
use <img> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxDall committed Aug 5, 2024
1 parent cb74564 commit dc733bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how_to_add_a_publisher.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ It's important to note that article layouts can vary significantly between publi
1. **Wall of text**: Commonly used by US-based publishers, this layout consists of a list of paragraphs without a summary or subheadings.
2. **The Complete**: This layout includes a brief summary following the title and multiple paragraphs grouped into sections separated by subheadings (`ArticleSections`).

![The complete: ArticleBody attribute structure of an example article](images/newspaper_labels_bold.png)
<img alt="The complete: ArticleBody attribute structure of an example article" src="images/newspaper_labels_bold.png" width="400" height="auto">

To accurately extract the body of an article, use the `extract_article_body_with_selector` function from the parser utilities.
This function accepts selectors for the different body parts as input and returns a parsed `ArticleBody`.
Expand Down

0 comments on commit dc733bf

Please sign in to comment.