Skip to content
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

feat!: change export path #8

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

martyanovandrey
Copy link
Contributor

No description provided.

.gitignore Outdated
@@ -2,4 +2,6 @@ node_modules/
www/
bundle/

.idea
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is your machine specific configuration and should not be in the repository

use global git config

https://stackoverflow.com/questions/7335420/global-git-ignore

@moki
Copy link
Member

moki commented Sep 22, 2023

@martyanovandrey

lgtm

one small thing tho, can you please clean up commit history?

squash 4a994b9 into 4a994b9

or three commits into one?

moki
moki previously approved these changes Sep 22, 2023

export type PlaygroundProperties = {
content?: string;
tabs?: { id: string, title: string }[];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are allowing to choose from predefined tabs(with transformations that goes with them)

each id has transformations tied up to them: md2html(preview), md2html(raw), md2md, etc...

change type to

tabs?: Tabs[]

export type Tabs = {
  id: 'preview' | 'html' | 'markdown' | 'tokens';
  title: string;
}

@@ -38,7 +38,7 @@
padding: var(--g-text-body-1-font-size);
}

.area__card > section {
.area-card__editor > section {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since you are nuking borders from html preview, can you also remove borders from other tabs.

now layout "jumping" because of that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants