---
url: /reference/@cssdoc/embedded/functions/projectCss.md
---
# Function: projectCss()

```ts
function projectCss(source, opts?): string;
```

Defined in: [packages/embedded/src/index.ts:240](https://github.com/thedannywahl/cssdoc/blob/main/packages/embedded/src/index.ts#L240)

Project a host source down to a CSS string: same length and line structure, with embedded-CSS
regions and outer `/** … */` doc comments kept in place, everything else blanked, and JS `${…}`
interpolations masked. The result feeds any CSS tool with source-accurate positions.

## Parameters

### source

`string`

### opts?

[`EmbeddedOptions`](../interfaces/EmbeddedOptions.md) = `{}`

## Returns

`string`
