Skip to content
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

AppleDoc DON't support @textblock or @code #657

Open
afatcoder opened this issue Jun 28, 2022 · 1 comment
Open

AppleDoc DON't support @textblock or @code #657

afatcoder opened this issue Jun 28, 2022 · 1 comment

Comments

@afatcoder
Copy link

Hi, rencently I used AppleDoc to generate API doc for Objective-C SDK. It is amazing.
But I found it seems to not support @textblock and @code tag.
I know appleDoc support to write code block with a tab or 4 (or more) spaces..
But I want to use @textblock or @code because which can show example code in quick help of XCode, as shown below.
How can AppleDoc parse @textblock or @code tag?
image

@tomaz
Copy link
Owner

tomaz commented Jun 28, 2022

You'll have to implement this yourself if you need it. It would require adding support to parser to detect the code block and report it into parsed data structure in the same way existing code does. Then it should get printed automatically during output generation. The simplest to get familiar and then change would be to open the project in Xcode, set cmd line arguments and breakpoints and run.

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

2 participants