Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bneradt opened this issue Mar 1, 2023 · 0 comments

Comments

@bneradt
Copy link
Collaborator

bneradt commented Mar 1, 2023

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

@bneradt bneradt changed the title Docs: Writing a Format Class Source Code isn't Rendering the write code Docs: Writing a Format Class Source Code isn't Rendering the Correct Code Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant