Skip to content

Dynamic code mention #518

@genert

Description

@genert

In previous CodeHike, it was possible to do the following:

<CH.Section>
Some text [hover here](focus://code.py#3)

```python code.py
def method():
    print("hello")
    print("world")
``

</CH.Section>

The current version has the following capability - https://codehike.org/docs/code/code-mentions

BUT it requires hard-coding the hover values in CSS styles. Is there a generic way for this as previous versions supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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