Effacer les filtres
Effacer les filtres

Customise markup for publishing

1 vue (au cours des 30 derniers jours)
Johannes Neumann
Johannes Neumann le 15 Nov 2019
I have adopted a habit of using source code comments with a lot of 'bang':
%==========================================================================
% Create Triplet Indices
%==========================================================================
Imho, they add a lot of structure to my code. However, this markup conflicts with the publish function of Matlab, which forces me to use
%% Create Triplet Indices
to achieve the same section title in a published document.
Is there a way to customise e.g. the section title markup? Alternatively, would it be possible to strip certain markup before publishing using e.g. regex?
As an example, i could live with
%%==========================================================================
%% Create Triplet Indices
%%==========================================================================
and strip the lines.
Cheers,
Johannes

Réponses (0)

Catégories

En savoir plus sur Entering Commands dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by