Skip to content

Docs: Writing a Format Class Source Code isn't Rendering the Correct Code #80

Description

@bneradt

The code references for this seem to be rendering incorrectly:
http://docs.solidwallofcode.com/libswoc/code/BW_Format.en.html#writing-a-format-class

For instance, what is supposed to be a wrapper class example is instead referencing unit test code:

The first step is to declare the wrapper class.

REQUIRE(w.view() == "Chars 0123");
bwprintf(w.clear(), "Chars |%*.*s|", 12, 5, digits);
}

Here's a screenshot of the rendered section, in case it's helpful later:

Screenshot 2023-03-01 at 17 07 56

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions