Skip to content
Open
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ The functions supporting these specifiers are [`console.debug()`](#consoledebugo
| `%c` | Formats the output string according to CSS styles you provide |

* Firebug supports limiting the number of decimal places via `%.xf`, where `x` is the number of decimal places.
* When multiple `%c` specifiers are included next to each other with no space, then the last style should be used. For example: `console.log("%c%chi", "color: green", "background: red"); // Should use "background: red"`

```javascript
console.log("Hello %s", "Brian");
Expand Down