Skip to content

[v0.7.1]shape: sql_table and class are not rendered as txt. #2616

Closed

Description

@bo-ku-ra

> d2.exe foo.d2 foo.txt

just rectangles

                   ┌─────────────────────────┐
                   │                         │
 ┌───────────────┐ │                         │
 │               │ │                         │
 └───────────────┘ │                         │
                   │                         │
                   └─────────────────────────┘
 ┌───────────────┐     
 │               │     
 │               │────┐
 │               │    │
 └───────────────┘    │
             │        │
   ┌──────────────────┘
   │         │         
   │         ▼         
   │   ┌───────────┐   
   │   │           │   
   └──▶│           │   
       └───────────┘   

Activity

  1. bo-ku-ra commented on Aug 19, 2025

    @bo-ku-ra
    ContributorAuthor

    'd2-legend' is ignored.
    'tooltip' is ignored.
    'link' is ignored.

    i think the loss of document content due to conversion to text format is critical.
    if these are not supported, an error message should be displayed and output should be stopped.

    for example, markdown and latex output the source themselves.

  2. alixander commented on Aug 20, 2025

    @alixander
    Collaborator

    Link and tooltip don't make sense for ascii, but legend probably should: #2624

  3. bo-ku-ra commented on Aug 20, 2025

    @bo-ku-ra
    ContributorAuthor

    Link and tooltip don't make sense for ascii

    outputs should be similar to '--force-appendix'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions