Skip to content

Let's see what this does #199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
4c557fc
removed unneed json-schema dev dep
hammoudma Nov 13, 2022
0a8cf0c
update markdown-it
hammoudma Nov 13, 2022
5137b4a
updated readme with code that worked with latest react and typescript
ar-to Feb 19, 2023
60990a8
adding sourceinfo and sourceMeta to ASTNode
Feb 21, 2023
e513784
Merge pull request #1 from hammoudma/master
RonRadtke Feb 21, 2023
ffc60a4
Merge pull request #3 from ar-to/readme_update
RonRadtke Feb 21, 2023
1cffb62
Update index.d.ts
Feb 21, 2023
cbdf78a
update dependencies
Feb 21, 2023
7660aa4
Allow for custom Text components (e.g. for themes)
Mar 1, 2023
62665ad
commit package-lock.json
orangecms Mar 2, 2023
876f433
remove pre-commit, we will run checks in CI
orangecms Mar 1, 2023
4d383e2
set up GitHub Action for code checks
orangecms Mar 1, 2023
6d0f19a
Upgrade to TypeScript 4
orangecms Mar 2, 2023
b5592a6
install prettier as dev dependency
orangecms Mar 2, 2023
9577110
prettierrc: remove jsxBracketSameLine
orangecms Mar 2, 2023
441fac9
add format and format-check scripts
orangecms Mar 2, 2023
e525d9c
format files in src/
orangecms Mar 2, 2023
c9d36cd
GitHub Workflows: add format check
orangecms Mar 2, 2023
b98b42a
restore 2-space formatting
orangecms Mar 9, 2023
56badbb
upgrade ESLint and @react-native-community/eslint-config
orangecms Mar 9, 2023
fc56f2e
extend ESLint config, add import plugin
orangecms Mar 9, 2023
7eb827f
use const instead of let, give Markdown component a display name
orangecms Mar 9, 2023
99b9e27
renderRules: make links accessible
orangecms Mar 9, 2023
0f186f2
styles: workaround for odd spacings in links
orangecms Mar 9, 2023
954c25e
update package name
Mar 15, 2023
2a673db
set up npm publish GitHub Action
orangecms Mar 1, 2023
031aad3
update redme
Mar 31, 2023
57fb36c
Merge pull request #4 from RonRadtke/npm-publish-action
RonRadtke Mar 31, 2023
a176175
Update README.md
simondelphia Jun 28, 2023
619d0f0
Update README.md
simondelphia Jun 28, 2023
51d2691
Fix typos in markdown imports in readmes
simondelphia Jul 7, 2023
e092385
Update font: Courier -> Courier New
bi3ri Oct 22, 2023
7484044
fix: lib is broken as it is not pure javasript, but a mix out of type…
macrozone Dec 4, 2023
25fc44a
Merge pull request #12 from bi3ri/patch-1
RonRadtke Sep 10, 2024
7762a30
Merge pull request #11 from simondelphia/patch-1
RonRadtke Sep 10, 2024
75a757e
Update package.json
RonRadtke Jan 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typos in markdown imports in readmes
  • Loading branch information
simondelphia authored Jul 7, 2023
commit 51d269132cffeb4f61c6e9211f6b8084687afaa7
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npm install -S @ronradtke/react-native-markdown-display
import React from 'react';
import { SafeAreaView, ScrollView, StatusBar } from 'react-native';

import Markdownfrom '@ronradtke/react-native-markdown-display';
import Markdown from '@ronradtke/react-native-markdown-display';

const copy = `# h1 Heading 8-)

Expand Down Expand Up @@ -847,7 +847,7 @@ Think of the implementation like applying styles in CSS. changes to the `body` e
import React from 'react';
import { SafeAreaView, ScrollView, StatusBar } from 'react-native';

import Markdownfrom '@ronradtke/react-native-markdown-display';
import Markdown from '@ronradtke/react-native-markdown-display';

const copy = `
This is some text which is red because of the body style, which is also really small!
Expand Down Expand Up @@ -910,7 +910,7 @@ Styles are used to override how certain rules are styled. The existing implement
import React from 'react';
import { SafeAreaView, ScrollView, StatusBar, StyleSheet } from 'react-native';

import Markdownfrom '@ronradtke/react-native-markdown-display';
import Markdown from '@ronradtke/react-native-markdown-display';

const styles = StyleSheet.create({
heading1: {
Expand Down Expand Up @@ -984,7 +984,7 @@ Rules are used to specify how you want certain elements to be displayed. The exi
import React from 'react';
import { SafeAreaView, ScrollView, StatusBar, Text } from 'react-native';

import Markdownfrom '@ronradtke/react-native-markdown-display';
import Markdown from '@ronradtke/react-native-markdown-display';

const rules = {
heading1: (node, children, parent, styles) =>
Expand Down Expand Up @@ -1093,7 +1093,7 @@ It is possible to overwrite this behaviour in one of two ways:
import React from 'react';
import { SafeAreaView, ScrollView, StatusBar } from 'react-native';

import Markdownfrom '@ronradtke/react-native-markdown-display';
import Markdown from '@ronradtke/react-native-markdown-display';

const copy = `[This is a link!](https://github.com/iamacup/react-native-markdown-display/)`;

Expand Down Expand Up @@ -1145,7 +1145,7 @@ Something like this with `yourCustomHandlerFunctionOrLogicHere`:
import React from 'react';
import { SafeAreaView, ScrollView, StatusBar, Text } from 'react-native';

import Markdownfrom '@ronradtke/react-native-markdown-display';
import Markdown from '@ronradtke/react-native-markdown-display';

const copy = `[This is a link!](https://github.com/iamacup/react-native-markdown-display/)`;

Expand Down