Formatting

This commit is contained in:
Thorsten Sommer 2025-05-30 17:09:32 +02:00
parent 393dd7ec6a
commit d165cbb038
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -17,21 +17,21 @@
Unfortunately Pandoc's GPL license is not compatible with AI Studios licences, nonetheless software under GPL is generally free to use and free of charge as well. Therefore you have to accept Pandoc's GPL license before we can download and install Pandoc for free automatically for you (recommended). However you can download it yourself manually with the instructions below. Unfortunately Pandoc's GPL license is not compatible with AI Studios licences, nonetheless software under GPL is generally free to use and free of charge as well. Therefore you have to accept Pandoc's GPL license before we can download and install Pandoc for free automatically for you (recommended). However you can download it yourself manually with the instructions below.
</MudJustifiedText> </MudJustifiedText>
</div> </div>
<MudExpansionPanels Class="mb-3" MultiExpansion="@false" Outlined="false" Elevation="0"> <MudExpansionPanels Class="mb-3" MultiExpansion="@false" Outlined="false" Elevation="0">
<ExpansionPanel HeaderIcon="@Icons.Material.Filled.Verified" HeaderText="View GNU General Public License v2 (GPL)" MaxHeight="300" ExpandedChanged="this.WhenExpandingLicence"> <ExpansionPanel HeaderIcon="@Icons.Material.Filled.Verified" HeaderText="View GNU General Public License v2 (GPL)" MaxHeight="300" ExpandedChanged="this.WhenExpandingLicence">
@if (this.isLoadingLicence) @if (this.isLoadingLicence)
{ {
<MudSkeleton /> <MudSkeleton/>
<MudSkeleton Animation="Animation.Wave" /> <MudSkeleton Animation="Animation.Wave"/>
<MudSkeleton /> <MudSkeleton/>
} }
else if (!string.IsNullOrWhiteSpace(this.licenseText)) else if (!string.IsNullOrWhiteSpace(this.licenseText))
{ {
<MudMarkdown Value="@this.licenseText" OverrideHeaderTypo="@Markdown.OverrideHeaderTypo"/> <MudMarkdown Value="@this.licenseText" OverrideHeaderTypo="@Markdown.OverrideHeaderTypo"/>
} }
</ExpansionPanel> </ExpansionPanel>
<ExpansionPanel HeaderIcon="@Icons.Material.Filled.AutoFixHigh" HeaderText="Automatic installation" IsExpanded="true"> <ExpansionPanel HeaderIcon="@Icons.Material.Filled.AutoFixHigh" HeaderText="Automatic installation" IsExpanded="true">
<MudJustifiedText Typo="Typo.body1"> <MudJustifiedText Typo="Typo.body1">
Pandoc is distributed under the <MudLink Href="https://github.com/jgm/pandoc/blob/main/COPYING.md" Target="_blank">GNU General Public License v2 (GPL)</MudLink>. By clicking "Accept GPL and Install", you agree to the terms of the GPL license and Pandoc will be installed automatically for you. Software under GPL is free of charge and free to use. Pandoc is distributed under the <MudLink Href="https://github.com/jgm/pandoc/blob/main/COPYING.md" Target="_blank">GNU General Public License v2 (GPL)</MudLink>. By clicking "Accept GPL and Install", you agree to the terms of the GPL license and Pandoc will be installed automatically for you. Software under GPL is free of charge and free to use.
@ -40,12 +40,12 @@
Accept GPL and install for free Accept GPL and install for free
</MudButton> </MudButton>
</ExpansionPanel> </ExpansionPanel>
<ExpansionPanel HeaderIcon="@Icons.Material.Filled.Build" HeaderText="Manual installation" ExpandedChanged="this.WhenExpandingManualInstallation"> <ExpansionPanel HeaderIcon="@Icons.Material.Filled.Build" HeaderText="Manual installation" ExpandedChanged="this.WhenExpandingManualInstallation">
<MudJustifiedText Typo="Typo.body1" Class="mb-2"> <MudJustifiedText Typo="Typo.body1" Class="mb-2">
If you prefer to install Pandoc yourself, please follow one of these two guides. Installers are only available for Windows and macOS. If you prefer to install Pandoc yourself, please follow one of these two guides. Installers are only available for Windows and macOS.
</MudJustifiedText> </MudJustifiedText>
<MudExpansionPanels Outlined="false" Elevation="0"> <MudExpansionPanels Outlined="false" Elevation="0">
<ExpansionPanel HeaderIcon="@Icons.Material.Filled.AppRegistration" HeaderText="Download installer" IsExpanded="true"> <ExpansionPanel HeaderIcon="@Icons.Material.Filled.AppRegistration" HeaderText="Download installer" IsExpanded="true">
<MudList T="string"> <MudList T="string">
@ -66,16 +66,16 @@
</MudJustifiedText> </MudJustifiedText>
</MudListItem> </MudListItem>
</MudList> </MudList>
<MudJustifiedText Class="mb-3" Typo="Typo.body1"> <MudJustifiedText Class="mb-3" Typo="Typo.body1">
Pandoc is distributed under the <MudLink Href="https://github.com/jgm/pandoc/blob/main/COPYING.md" Target="_blank">GNU General Public License v2 (GPL)</MudLink>. By clicking "Accept GPL and download installer", you agree to the terms of the GPL license. Software under GPL is free of charge and free to use. Pandoc is distributed under the <MudLink Href="https://github.com/jgm/pandoc/blob/main/COPYING.md" Target="_blank">GNU General Public License v2 (GPL)</MudLink>. By clicking "Accept GPL and download installer", you agree to the terms of the GPL license. Software under GPL is free of charge and free to use.
</MudJustifiedText> </MudJustifiedText>
<MudButton Href="@this.downloadUrlInstaller" Target="_blank" Color="Color.Primary" Class="mt-4" Variant="Variant.Filled" Size="Size.Medium" StartIcon="@Icons.Material.Filled.Downloading"> <MudButton Href="@this.downloadUrlInstaller" Target="_blank" Color="Color.Primary" Class="mt-4" Variant="Variant.Filled" Size="Size.Medium" StartIcon="@Icons.Material.Filled.Downloading">
Accept GPL and download installer Accept GPL and download installer
</MudButton> </MudButton>
</ExpansionPanel> </ExpansionPanel>
<ExpansionPanel HeaderIcon="@Icons.Material.Outlined.Archive" HeaderText="Download archive"> <ExpansionPanel HeaderIcon="@Icons.Material.Outlined.Archive" HeaderText="Download archive">
<MudList T="string"> <MudList T="string">
<MudListItem T="string" Class="mb-2"> <MudListItem T="string" Class="mb-2">
@ -83,7 +83,7 @@
Accept the terms of the GPL license and download the latest archive with the download button below. Accept the terms of the GPL license and download the latest archive with the download button below.
</MudJustifiedText> </MudJustifiedText>
</MudListItem> </MudListItem>
<MudListItem T="string" Class="mb-2"> <MudListItem T="string" Class="mb-2">
<MudJustifiedText Typo="Typo.body1"> <MudJustifiedText Typo="Typo.body1">
Extract the archive to a folder of your choice, e.g.: Extract the archive to a folder of your choice, e.g.:
@ -94,7 +94,7 @@
<CodeBlock Title="Linux">/usr/local/bin/pandoc</CodeBlock> <CodeBlock Title="Linux">/usr/local/bin/pandoc</CodeBlock>
</CodeTabs> </CodeTabs>
</MudListItem> </MudListItem>
<MudListItem T="string" Class="mb-2"> <MudListItem T="string" Class="mb-2">
<MudJustifiedText Typo="Typo.body1"> <MudJustifiedText Typo="Typo.body1">
Open the folder and copy the full path to the <CodeBlock IsInline="true">@PandocProcessBuilder.PandocExecutableName</CodeBlock> file into your clipboard: Open the folder and copy the full path to the <CodeBlock IsInline="true">@PandocProcessBuilder.PandocExecutableName</CodeBlock> file into your clipboard:
@ -105,7 +105,7 @@
<CodeBlock Title="Linux">/usr/local/bin/pandoc/pandoc-@(LATEST_PANDOC_VERSION)</CodeBlock> <CodeBlock Title="Linux">/usr/local/bin/pandoc/pandoc-@(LATEST_PANDOC_VERSION)</CodeBlock>
</CodeTabs> </CodeTabs>
</MudListItem> </MudListItem>
<MudListItem T="string"> <MudListItem T="string">
<MudJustifiedText Typo="Typo.body1"> <MudJustifiedText Typo="Typo.body1">
Add the copied path to your system's or user's <CodeBlock IsInline="true">PATH</CodeBlock> environment variable, restart your terminal, and check the installation by typing <CodeBlock IsInline="@true">pandoc --version</CodeBlock> into your terminal: Add the copied path to your system's or user's <CodeBlock IsInline="true">PATH</CodeBlock> environment variable, restart your terminal, and check the installation by typing <CodeBlock IsInline="@true">pandoc --version</CodeBlock> into your terminal:
@ -117,13 +117,13 @@
</CodeTabs> </CodeTabs>
</MudListItem> </MudListItem>
</MudList> </MudList>
<MudText Class="mb-3" Typo="Typo.caption"> <MudText Class="mb-3" Typo="Typo.caption">
<MudJustifiedText Typo="Typo.body1"> <MudJustifiedText Typo="Typo.body1">
Pandoc is distributed under the <MudLink Href="https://github.com/jgm/pandoc/blob/main/COPYING.md" Target="_blank">GNU General Public License v2 (GPL)</MudLink>. By clicking "Accept GPL and archive", you agree to the terms of the GPL license. Software under GPL is free of charge and free to use. Pandoc is distributed under the <MudLink Href="https://github.com/jgm/pandoc/blob/main/COPYING.md" Target="_blank">GNU General Public License v2 (GPL)</MudLink>. By clicking "Accept GPL and archive", you agree to the terms of the GPL license. Software under GPL is free of charge and free to use.
</MudJustifiedText> </MudJustifiedText>
</MudText> </MudText>
<MudButton Href="@this.downloadUrlArchive" Target="_blank" Color="Color.Primary" Class="mt-4" Variant="Variant.Filled" Size="Size.Medium" StartIcon="@Icons.Material.Filled.Downloading"> <MudButton Href="@this.downloadUrlArchive" Target="_blank" Color="Color.Primary" Class="mt-4" Variant="Variant.Filled" Size="Size.Medium" StartIcon="@Icons.Material.Filled.Downloading">
Accept GPL and download archive Accept GPL and download archive
</MudButton> </MudButton>
@ -138,12 +138,12 @@
@if (this.pandocInstallation == default) @if (this.pandocInstallation == default)
{ {
<MudStack Row="true" AlignItems="AlignItems.Center"> <MudStack Row="true" AlignItems="AlignItems.Center">
<MudSkeleton SkeletonType="SkeletonType.Circle" Width="4em" Height="4em" Animation="Animation.Pulse" /> <MudSkeleton SkeletonType="SkeletonType.Circle" Width="4em" Height="4em" Animation="Animation.Pulse"/>
<MudStack Row="false" Class="d-flex flex-column flex-grow-1"> <MudStack Row="false" Class="d-flex flex-column flex-grow-1">
<MudSkeleton Width="90%" Animation="Animation.Wave"/> <MudSkeleton Width="90%" Animation="Animation.Wave"/>
<MudSkeleton Width="75%" Animation="Animation.Wave"/> <MudSkeleton Width="75%" Animation="Animation.Wave"/>
<MudSkeleton Width="55%" /> <MudSkeleton Width="55%"/>
<MudSkeleton Width="12%" /> <MudSkeleton Width="12%"/>
</MudStack> </MudStack>
</MudStack> </MudStack>
} }
@ -193,7 +193,7 @@
else if (this.ShowInstallationPage) else if (this.ShowInstallationPage)
{ {
<MudButton OnClick="@this.Cancel" Variant="Variant.Filled"> <MudButton OnClick="@this.Cancel" Variant="Variant.Filled">
Cancel Close
</MudButton> </MudButton>
<MudButton Color="Color.Warning" OnClick="@this.RejectLicense" Variant="Variant.Filled" Size="Size.Medium"> <MudButton Color="Color.Warning" OnClick="@this.RejectLicense" Variant="Variant.Filled" Size="Size.Medium">
@ -203,7 +203,7 @@
else else
{ {
<MudButton OnClick="@this.Cancel" Variant="Variant.Filled"> <MudButton OnClick="@this.Cancel" Variant="Variant.Filled">
Cancel Close
</MudButton> </MudButton>
@if (this.pandocInstallation != default) @if (this.pandocInstallation != default)