You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+37-1Lines changed: 37 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,27 @@ This project is a monorepo managed using [Yarn workspaces](https://yarnpkg.com/f
13
13
14
14
To get started with the project, make sure you have the correct version of [Node.js](https://nodejs.org/) installed. See the [`.nvmrc`](./.nvmrc) file for the version used in this project.
15
15
16
-
Run `yarn` in the root directory to install the required dependencies for each package:
16
+
### Cloning the Repository
17
+
18
+
When cloning this repository, make sure to include submodules:
This project uses git submodules for native dependencies. You need to initialize the submodules before installing dependencies:
33
+
34
+
```sh
35
+
36
+
# Install dependencies
19
37
yarn
20
38
```
21
39
@@ -76,6 +94,20 @@ Remember to add tests for your change if possible. Run the unit tests by:
76
94
yarn test
77
95
```
78
96
97
+
### Testing MD4C Integration
98
+
99
+
This project includes native markdown parsing capabilities using the MD4C library. To test the MD4C integration:
100
+
101
+
```sh
102
+
# Run MD4C integration tests
103
+
./scripts/test-md4c.sh
104
+
```
105
+
106
+
This will test:
107
+
108
+
- MD4C compilation and execution
109
+
- iOS podspec configuration
110
+
79
111
### Commit message convention
80
112
81
113
We follow the [conventional commits specification](https://www.conventionalcommits.org/en) for our commit messages:
@@ -119,6 +151,10 @@ The `package.json` file contains various scripts for common tasks:
119
151
-`yarn example android`: run the example app on Android.
120
152
-`yarn example ios`: run the example app on iOS.
121
153
154
+
Additional scripts for native development:
155
+
156
+
-`./scripts/test-md4c.sh`: test MD4C integration and native setup.
157
+
122
158
### Sending a pull request
123
159
124
160
> **Working on your first pull request?** You can learn how from this _free_ series: [How to Contribute to an Open Source Project on GitHub](https://app.egghead.io/playlists/how-to-contribute-to-an-open-source-project-on-github).
constsampleMarkdown=`#### Welcome to the React Native Markdown component!
17
+
18
+
This is a simple text with links.
19
+
20
+
Check out this [link to React Native](https://reactnative.dev) and this [GitHub repository](https://github.com/facebook/react-native).
21
+
22
+
Built with ❤️ using React Native Fabric Architecture`;
0 commit comments