Skip to content

Incorrect capitalization on function definitions #12

Description

@scottchiefbaker

I have POD that defines my functions:

=head1 FUNCTIONS

=head2 encode_bijou64($integer)

Encodes a non-negative integer into a Bijou64 byte string.

=head2 decode_bijou64($bytes)

Decodes a Bijou64 byte string and returns the integer value.

When I run this through pod2github it tries to capitalize the function names, and a parameters:

 ## Functions

-### encode\_bijou64($integer)
+### Encode\_bijou64($Integer)

 Encodes a non-negative integer into a Bijou64 byte string.

-### decode\_bijou64($bytes)
+### Decode\_bijou64($Bytes)

I have to manually change it every time. Is it possible to make pod2github smarter about function definitions in POD? This formatting seems quite common among projects.

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