Skip to content

Instantly share code, notes, and snippets.

@ajaymathur
Created March 8, 2018 10:50
Show Gist options
  • Select an option

  • Save ajaymathur/4e4b5bb4f48428b201b070028cf6ad7e to your computer and use it in GitHub Desktop.

Select an option

Save ajaymathur/4e4b5bb4f48428b201b070028cf6ad7e to your computer and use it in GitHub Desktop.
react-markings Snippet
import * as React from 'react';
import Snippet from './Snippet';
import md from 'react-markings';
const someString = 'testing';
export default function ReadMe() {
return md`
# hi this is heaing
${<Snippet baseUrl="jira.com" />}
`;
}
import React from 'react';
export default ({baseUrl}) => (
<div>
<h2>React-markings Snippet</h2>
<p>The provided `baseUrl` is {baseUrl}. Does that work?</p>
</div>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment