Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -54,7 +54,7 @@ The markdown content of each post is contained in the `Body` field. The license
|
|
| 54 |
Tags: array<string> | null
|
| 55 |
}
|
| 56 |
```
|
| 57 |
-
Also consider the [Datadump
|
| 58 |
have analogs in the original dump format.
|
| 59 |
|
| 60 |
## How to use?
|
|
@@ -80,6 +80,8 @@ This HTML format has been converted to Markdown.
|
|
| 80 |
|
| 81 |
For reference, [this post on StackOverflow](https://stackoverflow.com/questions/53253940/make-react-useeffect-hook-not-run-on-initial-render) is formatted as follows:
|
| 82 |
|
|
|
|
|
|
|
| 83 |
```markdown
|
| 84 |
According to the docs:
|
| 85 |
|
|
@@ -111,13 +113,14 @@ function ComponentDidUpdateFunction() {
|
|
| 111 |
}
|
| 112 |
```
|
| 113 |
|
| 114 |
-
|
| 115 |
|
| 116 |
```
|
| 117 |
|
|
|
|
| 118 |
## Details on the HTML to Markdown conversion
|
| 119 |
|
| 120 |
-
Using Jsoup, the original Body field was converted into a Jsoup Document.
|
| 121 |
|
| 122 |
Jsoup defines `.text()` as follows:
|
| 123 |
> ... the normalized, combined text of this element and all its children. Whitespace is normalized and trimmed. For example, given HTML <code><p>Hello <b>there</b> now! </p><code>, p.text() returns "Hello there now!"
|
|
|
|
| 54 |
Tags: array<string> | null
|
| 55 |
}
|
| 56 |
```
|
| 57 |
+
Also consider the [StackExchange Datadump Schema Documentation](https://meta.stackexchange.com/questions/2677/database-schema-documentation-for-the-public-data-dump-and-sede), as all fields
|
| 58 |
have analogs in the original dump format.
|
| 59 |
|
| 60 |
## How to use?
|
|
|
|
| 80 |
|
| 81 |
For reference, [this post on StackOverflow](https://stackoverflow.com/questions/53253940/make-react-useeffect-hook-not-run-on-initial-render) is formatted as follows:
|
| 82 |
|
| 83 |
+
#### Title: Make React useEffect hook not run on initial render
|
| 84 |
+
|
| 85 |
```markdown
|
| 86 |
According to the docs:
|
| 87 |
|
|
|
|
| 113 |
}
|
| 114 |
```
|
| 115 |
|
| 116 |
+
rest of the post omitted for brevity
|
| 117 |
|
| 118 |
```
|
| 119 |
|
| 120 |
+
|
| 121 |
## Details on the HTML to Markdown conversion
|
| 122 |
|
| 123 |
+
Using Jsoup, the original Body field was converted into a Jsoup Document. The child **nodes** (has special meaning in context of Jsoup) of this document were recursively traversed in a depth-first order.
|
| 124 |
|
| 125 |
Jsoup defines `.text()` as follows:
|
| 126 |
> ... the normalized, combined text of this element and all its children. Whitespace is normalized and trimmed. For example, given HTML <code><p>Hello <b>there</b> now! </p><code>, p.text() returns "Hello there now!"
|