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

dividing file names for code snippets #3075

Merged
merged 10 commits into from
Aug 26, 2022
12 changes: 6 additions & 6 deletions src/pages/developing/angular-tutorial/step-2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@ We'll start adding HTML elements and components by row.
In our first row we'll need a `Breadcrumb` component. First, let's import the
components we need in `home.module.ts` and `landing-page.component.spec.ts`.

```javascript path=src/app/home/home.module.ts,src/app/home/landing-page/landing-page.component.spec.ts
```javascript path=src/app/home/home.module.ts
import { BreadcrumbModule, GridModule } from 'carbon-components-angular';
```

<!-- prettier-ignore-end -->

```javascript path=src/app/home/home.module.ts,src/app/home/landing-page/landing-page.component.spec.ts
```javascript path=src/app/home/landing-page/landing-page.component.spec.ts
imports: [BreadcrumbModule, GridModule];
```

Expand All @@ -232,7 +232,7 @@ In our second row we'll need `Tabs` and `Button` components also in
`carbon-components-angular` import to:

<!-- prettier-ignore-start -->
```javascript path=src/app/home/home.module.ts,src/app/home/landing-page/landing-page.component.spec.ts
```javascript path=src/app/home/home.module.ts
import {
BreadcrumbModule,
ButtonModule,
Expand All @@ -242,7 +242,7 @@ import {
```
<!-- prettier-ignore-end -->

```javascript path=src/app/home/home.module.ts,src/app/home/landing-page/landing-page.component.spec.ts
```javascript path=src/app/home/landing-page/landing-page.component.spec.ts
imports: [BreadcrumbModule, ButtonModule, GridModule, TabsModule];
```

Expand Down Expand Up @@ -653,12 +653,12 @@ First, we’ll add our grid and table by importing a few components in
`repositories.module.ts` and `repo-page.component.spec.ts`:

<!-- prettier-ignore-start -->
```javascript path=src/app/repositories/repositories.module.ts,src/app/repositories/repo-page/repo-page.component.spec.ts
```javascript path=src/app/repositories/repositories.module.ts
import { GridModule, TableModule } from 'carbon-components-angular';
```
<!-- prettier-ignore-end -->

```javascript path=src/app/repositories/repositories.module.ts,src/app/repositories/repo-page/repo-page.component.spec.ts
```javascript path=src/app/repositories/repo-page/repo-page.component.spec.ts
imports: [GridModule, TableModule];
```

Expand Down