Skip to content

Copyright notice in code snippets #3101

@hurryabit

Description

@hurryabit

Most code snippets in the course show a copyright header of the form

// Copyright 20xx Google LLC
// SPDX-License-Identifier: Apache-2.0

This is a problem since it's visual noise that takes up valuable screen space.

Some code blocks don't show this header though. My preliminary investigation suggests that blocks opened by only

```rust

don't show the copyright header whereas those opened by more complex fences, such as

```rust,editable

do show it.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions