Skip to content

Request to vertically align code blocks via various characters #157

Open
@adrifoster

Description

@adrifoster

It would be great to have a way to programmatically vertically align code.

e.g.:

this:

  logical, intent(in) :: doalb       ! true if time for surface albedo calc
  real(r8), intent(in) :: nextsw_cday ! calendar day for nstep+1
  real(r8), intent(in) :: declinp1    ! declination angle for next time step
  real(r8), intent(in) :: declin      ! declination angle for current time step
  logical, intent(in) :: rstwr       ! true => write restart file this step
  logical, intent(in) :: nlend       ! true => end of run on this step
  character(len=*), intent(in) :: rdate       ! restart file time stamp for name

would become this:

  logical,          intent(in) :: doalb       ! true if time for surface albedo calc
  real(r8),         intent(in) :: nextsw_cday ! calendar day for nstep+1
  real(r8),         intent(in) :: declinp1    ! declination angle for next time step
  real(r8),         intent(in) :: declin      ! declination angle for current time step
  logical,          intent(in) :: rstwr       ! true => write restart file this step
  logical,          intent(in) :: nlend       ! true => end of run on this step
  character(len=*), intent(in) :: rdate       ! restart file time stamp for name

Is this possible?

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